pub struct Consomme { /* private fields */ }
Expand description
A consomme instance.
Implementations§
Source§impl Consomme
impl Consomme
Sourcepub fn new_with_state(state: ConsommeState) -> Self
pub fn new_with_state(state: ConsommeState) -> Self
Creates a new consomme instance with specified state.
Sourcepub fn new_dynamic(state: ConsommeState) -> (Self, ConsommeControl)
pub fn new_dynamic(state: ConsommeState) -> (Self, ConsommeControl)
Creates a new consomme instance with dynamic state.
Trait Implementations§
Source§impl InspectMut for Consomme
impl InspectMut for Consomme
Source§fn inspect_mut(&mut self, req: Request<'_>)
fn inspect_mut(&mut self, req: Request<'_>)
Inspects the object.
Auto Trait Implementations§
impl Freeze for Consomme
impl !RefUnwindSafe for Consomme
impl Send for Consomme
impl Sync for Consomme
impl Unpin for Consomme
impl !UnwindSafe for Consomme
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