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 Freeze for PanicHandler
impl RefUnwindSafe for PanicHandler
impl Send for PanicHandler
impl Sync for PanicHandler
impl Unpin for PanicHandler
impl UnsafeUnpin 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