pub struct Checkpoint<P>(/* private fields */)
where
P: Copy;
Expand description
The identifier of a node as returned by functions such as
Builder::checkpoint
.
This can be used as a checkpoint in Builder::close_at
, and a checkpoint
can be fetched up front from Builder::checkpoint
.
Trait Implementations§
Source§impl<P> Clone for Checkpoint<P>
impl<P> Clone for Checkpoint<P>
Source§fn clone(&self) -> Checkpoint<P>
fn clone(&self) -> Checkpoint<P>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<P> Freeze for Checkpoint<P>
impl<P> !RefUnwindSafe for Checkpoint<P>
impl<P> !Send for Checkpoint<P>
impl<P> !Sync for Checkpoint<P>
impl<P> Unpin for Checkpoint<P>
impl<P> !UnwindSafe for Checkpoint<P>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)