Struct shred::PanicHandler
source · [−]pub struct PanicHandler;
Expand description
A setup handler that simply does nothing and thus will cause a panic on fetching.
A typedef called ReadExpect
exists, so you usually don’t use this type
directly.
Trait Implementations
sourceimpl<T> SetupHandler<T> for PanicHandler where
T: Resource,
impl<T> SetupHandler<T> for PanicHandler where
T: Resource,
Auto Trait Implementations
impl RefUnwindSafe for PanicHandler
impl Send for PanicHandler
impl Sync for PanicHandler
impl Unpin for PanicHandler
impl UnwindSafe for PanicHandler
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more