Struct flutter_rust_bridge::handler::WrapInfo
source · pub struct WrapInfo {
pub port: Option<MessagePort>,
pub debug_name: &'static str,
pub mode: FfiCallMode,
}
Expand description
Supporting information to identify a function’s operating mode.
Fields§
§port: Option<MessagePort>
A Dart SendPort
. None if the mode is FfiCallMode::Sync.
debug_name: &'static str
Usually the name of the function.
mode: FfiCallMode
The call mode of this function.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for WrapInfo
impl Send for WrapInfo
impl Sync for WrapInfo
impl Unpin for WrapInfo
impl UnwindSafe for WrapInfo
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