Struct libp2p_core::nodes::handled_node_tasks::Task
source · pub struct Task<'a, TInEvent: 'a> { /* private fields */ }Expand description
Access to a task in the collection.
Implementations
Trait Implementations
Auto Trait Implementations
impl<'a, TInEvent> !RefUnwindSafe for Task<'a, TInEvent>
impl<'a, TInEvent> Send for Task<'a, TInEvent>where
TInEvent: Send,
impl<'a, TInEvent> Sync for Task<'a, TInEvent>where
TInEvent: Send,
impl<'a, TInEvent> Unpin for Task<'a, TInEvent>
impl<'a, TInEvent> !UnwindSafe for Task<'a, TInEvent>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more