pub struct TaskInfo {
pub port: Option<MessagePort>,
pub debug_name: &'static str,
pub mode: FfiCallMode,
}
Expand description
Supporting information for a task
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 Freeze for TaskInfo
impl RefUnwindSafe for TaskInfo
impl Send for TaskInfo
impl Sync for TaskInfo
impl Unpin for TaskInfo
impl UnwindSafe for TaskInfo
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