#[non_exhaustive]pub struct DefaultTrap {}
Expand description
A default trap that sends errors to standard error if possible.
If standard error is not available, it does nothing.
Trait Implementations§
Source§impl Debug for DefaultTrap
impl Debug for DefaultTrap
Source§impl Default for DefaultTrap
impl Default for DefaultTrap
Source§fn default() -> DefaultTrap
fn default() -> DefaultTrap
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DefaultTrap
impl RefUnwindSafe for DefaultTrap
impl Send for DefaultTrap
impl Sync for DefaultTrap
impl Unpin for DefaultTrap
impl UnwindSafe for DefaultTrap
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