Struct safe_transmute::guard::AllOrNothingGuard
source · pub struct AllOrNothingGuard;
Expand description
An all-or-nothing guard: The byte slice should not have extraneous data, but can be
empty, unlike PedanticGuard
.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AllOrNothingGuard
impl RefUnwindSafe for AllOrNothingGuard
impl Send for AllOrNothingGuard
impl Sync for AllOrNothingGuard
impl Unpin for AllOrNothingGuard
impl UnwindSafe for AllOrNothingGuard
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