Struct hotshot_task::task::NetworkTaskRegistry
source · pub struct NetworkTaskRegistry {
pub handles: Vec<JoinHandle<()>>,
}
Expand description
A collection of tasks which can handle shutdown
Fields§
§handles: Vec<JoinHandle<()>>
Tasks this registry controls
Implementations§
Trait Implementations§
source§impl Default for NetworkTaskRegistry
impl Default for NetworkTaskRegistry
source§fn default() -> NetworkTaskRegistry
fn default() -> NetworkTaskRegistry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NetworkTaskRegistry
impl RefUnwindSafe for NetworkTaskRegistry
impl Send for NetworkTaskRegistry
impl Sync for NetworkTaskRegistry
impl Unpin for NetworkTaskRegistry
impl UnwindSafe for NetworkTaskRegistry
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