pub struct AndroidAdapter { /* private fields */ }Expand description
转发到设备侧 bridge 的一等 adapter。
Implementations§
Source§impl AndroidAdapter
impl AndroidAdapter
pub fn new(config: AndroidBridgeConfig) -> Self
Trait Implementations§
Source§impl ActionAdapter for AndroidAdapter
impl ActionAdapter for AndroidAdapter
fn name(&self) -> &'static str
fn execute( &self, authorized: &AuthorizedAction, ) -> Result<ActionOutcome, AdapterError>
Auto Trait Implementations§
impl Freeze for AndroidAdapter
impl RefUnwindSafe for AndroidAdapter
impl Send for AndroidAdapter
impl Sync for AndroidAdapter
impl Unpin for AndroidAdapter
impl UnsafeUnpin for AndroidAdapter
impl UnwindSafe for AndroidAdapter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more