pub struct SetupContext<S> { /* private fields */ }
Expand description
A SetupContext
is made available to an operator’s setup
method, and allows the operators to
register deadlines for events along with their corresponding handlers. The generic type S
is
the State registered with the operator.
Implementations§
Auto Trait Implementations§
impl<S> Freeze for SetupContext<S>
impl<S> !RefUnwindSafe for SetupContext<S>
impl<S> Send for SetupContext<S>
impl<S> Sync for SetupContext<S>
impl<S> Unpin for SetupContext<S>
impl<S> !UnwindSafe for SetupContext<S>
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