pub struct Snapshot<T> { /* private fields */ }
Expand description
Contains information about the state of a message.
This type is returned by the snapshot
method of the various builders and
allows to later return to that state through the rewind
method.
Trait Implementations§
impl<T: Copy> Copy for Snapshot<T>
impl<T: Eq> Eq for Snapshot<T>
impl<T> StructuralPartialEq for Snapshot<T>
Auto Trait Implementations§
impl<T> Freeze for Snapshot<T>
impl<T> RefUnwindSafe for Snapshot<T>where
T: RefUnwindSafe,
impl<T> Send for Snapshot<T>where
T: Send,
impl<T> Sync for Snapshot<T>where
T: Sync,
impl<T> Unpin for Snapshot<T>where
T: Unpin,
impl<T> UnwindSafe for Snapshot<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