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§
source§impl<T> SetupHandler<T> for PanicHandlerwhere
T: Resource,
impl<T> SetupHandler<T> for PanicHandlerwhere
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§
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