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
sourceimpl Guard for AllOrNothingGuard
impl Guard for AllOrNothingGuard
Auto Trait Implementations
impl RefUnwindSafe for AllOrNothingGuard
impl Send for AllOrNothingGuard
impl Sync for AllOrNothingGuard
impl Unpin for AllOrNothingGuard
impl UnwindSafe for AllOrNothingGuard
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more