-
Notifications
You must be signed in to change notification settings - Fork 349
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Manual
IntoJava
impl to skip locked_down
field
Here we manually implement the `IntoJava` trait of jnix to skip the `locked_down` field of `TunnelState::Disconnected` as the derive macro currently does not support skipping fields of struct variants in and enum. It was decided that this solution is the preferred to updating the macro since the jnix crate will be dropped once android implements gRPC.
- Loading branch information
Showing
1 changed file
with
113 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters