Struct stacked_errors::DisplayStr
source · pub struct DisplayStr<'a>(pub &'a str);Expand description
For implementing Debug, this wrapper makes strings use their Display
impl rather than Debug impl
Tuple Fields§
§0: &'a strTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for DisplayStr<'a>
impl<'a> RefUnwindSafe for DisplayStr<'a>
impl<'a> Send for DisplayStr<'a>
impl<'a> Sync for DisplayStr<'a>
impl<'a> Unpin for DisplayStr<'a>
impl<'a> UnwindSafe for DisplayStr<'a>
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