pub struct Context { /* private fields */ }
Expand description
A context passed to Application::run_once
Gives the application control over when to execute certain operations like signal handling.
Implementations§
Source§impl Context
impl Context
pub fn poll_signals<A: Application>(&self, app: &mut A)
Auto Trait Implementations§
impl Freeze for Context
impl RefUnwindSafe for Context
impl Send for Context
impl Sync for Context
impl Unpin for Context
impl UnwindSafe for Context
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