pub struct AssertLogSafe<T>(pub T);Expand description
Wrapper struct for known-safe data.
WARNING: This is an escape hatch which allows the developer (YOU) to log unsafe data. Misuse at your own risk.
Tuple Fields§
§0: TTrait Implementations§
impl<T> LogSafe for AssertLogSafe<T>
Auto Trait Implementations§
impl<T> Freeze for AssertLogSafe<T>where
T: Freeze,
impl<T> RefUnwindSafe for AssertLogSafe<T>where
T: RefUnwindSafe,
impl<T> Send for AssertLogSafe<T>where
T: Send,
impl<T> Sync for AssertLogSafe<T>where
T: Sync,
impl<T> Unpin for AssertLogSafe<T>where
T: Unpin,
impl<T> UnsafeUnpin for AssertLogSafe<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for AssertLogSafe<T>where
T: UnwindSafe,
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