pub struct MessageGuard<I>(/* private fields */);Expand description
wrapper to prevent values accidentally bypassing the transcript
Implementations§
Source§impl<I> MessageGuard<I>
impl<I> MessageGuard<I>
Source§impl<I> MessageGuard<Vec<I>>
impl<I> MessageGuard<Vec<I>>
pub fn transpose(self) -> Vec<MessageGuard<I>>
Source§impl<I, const N: usize> MessageGuard<[I; N]>
impl<I, const N: usize> MessageGuard<[I; N]>
pub fn transpose(self) -> [MessageGuard<I>; N]
Trait Implementations§
Auto Trait Implementations§
impl<I> Freeze for MessageGuard<I>where
I: Freeze,
impl<I> RefUnwindSafe for MessageGuard<I>where
I: RefUnwindSafe,
impl<I> Send for MessageGuard<I>where
I: Send,
impl<I> Sync for MessageGuard<I>where
I: Sync,
impl<I> Unpin for MessageGuard<I>where
I: Unpin,
impl<I> UnsafeUnpin for MessageGuard<I>where
I: UnsafeUnpin,
impl<I> UnwindSafe for MessageGuard<I>where
I: 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