pub struct Checkpoint { /* private fields */ }Expand description
A position in a TlvWriter, taken by TlvWriter::checkpoint.
Opaque and Copy: it is the writer’s whole state minus the buffer, which is sixteen
container kinds and three scalars, so keeping one per chunk boundary costs nothing.
Trait Implementations§
Source§impl Clone for Checkpoint
impl Clone for Checkpoint
impl Copy for Checkpoint
Source§impl Debug for Checkpoint
impl Debug for Checkpoint
impl Eq for Checkpoint
Source§impl PartialEq for Checkpoint
impl PartialEq for Checkpoint
impl StructuralPartialEq for Checkpoint
Auto Trait Implementations§
impl Forget for Checkpoint
impl Freeze for Checkpoint
impl Move for Checkpoint
impl RefUnwindSafe for Checkpoint
impl Send for Checkpoint
impl Sync for Checkpoint
impl Unpin for Checkpoint
impl UnsafeUnpin for Checkpoint
impl UnwindSafe for Checkpoint
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