pub struct Parts<S> {
pub state: S,
pub executor: Executor,
pub extensions: Extensions,
}
Expand description
Component parts of Context
.
Fields§
§state: S
§executor: Executor
§extensions: Extensions
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for Parts<S>where
S: Freeze,
impl<S> !RefUnwindSafe for Parts<S>
impl<S> Send for Parts<S>where
S: Send,
impl<S> Sync for Parts<S>where
S: Sync,
impl<S> Unpin for Parts<S>where
S: Unpin,
impl<S> !UnwindSafe for Parts<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