pub struct DefaultCtx { /* private fields */ }Expand description
Default context for the Control.
No logging, no additional propagation, no observer, no function handler
Trait Implementations§
Source§impl ControlCtx for DefaultCtx
impl ControlCtx for DefaultCtx
type L = Non
type P = Non
type O = Non
type F = Non
Source§fn logger(&mut self) -> (&mut Self::L, u32)
fn logger(&mut self) -> (&mut Self::L, u32)
Return a logger and the maximum number of times the logger callback is called
Source§fn propagator(&mut self) -> (&mut Self::P, bool)
fn propagator(&mut self) -> (&mut Self::P, bool)
Return a propagator and boolean flag sequential Read more
Source§fn observer(&mut self) -> (&mut Self::O, bool)
fn observer(&mut self) -> (&mut Self::O, bool)
Return a program observer and boolean flag for replace Read more
Source§fn function_handler(&mut self) -> &mut Self::F
fn function_handler(&mut self) -> &mut Self::F
Return a function handler
Auto Trait Implementations§
impl Freeze for DefaultCtx
impl RefUnwindSafe for DefaultCtx
impl Send for DefaultCtx
impl Sync for DefaultCtx
impl Unpin for DefaultCtx
impl UnwindSafe for DefaultCtx
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