pub struct WdMod { /* private fields */ }
Implementations§
Source§impl WdMod
impl WdMod
pub fn new() -> Arc<Self>
Sourcepub fn give(self: &Arc<Self>, f: Frame, t: Target)
pub fn give(self: &Arc<Self>, f: Frame, t: Target)
Give some data to this netmod, receiving it on the device
This function is called by the java-android driver stack in android-support which is called by any app that implements the WifiDirect mode, It could also be used as a general FFI shim for other drivers.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WdMod
impl RefUnwindSafe for WdMod
impl Send for WdMod
impl Sync for WdMod
impl Unpin for WdMod
impl UnwindSafe for WdMod
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