pub enum Task<T, E> {
Process {
data: T,
configurator: Box<dyn Fn(&mut T, &mut Easy) -> Result<(), Error<E>> + Send + 'static>,
},
Terminate,
}
Expand description
Task for network manager.
Variants§
Implementations§
Auto Trait Implementations§
impl<T, E> Freeze for Task<T, E>where
T: Freeze,
impl<T, E> !RefUnwindSafe for Task<T, E>
impl<T, E> Send for Task<T, E>where
T: Send,
impl<T, E> !Sync for Task<T, E>
impl<T, E> Unpin for Task<T, E>where
T: Unpin,
impl<T, E> !UnwindSafe for Task<T, E>
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