pub struct Checkpoint<T, S> {
inner: T,
stream: PhantomData<S>,
}
Expand description
Ensure checkpoint details are kept private
Fields§
§inner: T
§stream: PhantomData<S>
Implementations§
source§impl<T, S> Checkpoint<T, S>
impl<T, S> Checkpoint<T, S>
Trait Implementations§
source§impl<T: Clone, S> Clone for Checkpoint<T, S>
impl<T: Clone, S> Clone for Checkpoint<T, S>
source§impl<T: Debug, S> Debug for Checkpoint<T, S>
impl<T: Debug, S> Debug for Checkpoint<T, S>
source§impl<I, S> Offset for Checkpoint<I, S>where
I: Offset,
impl<I, S> Offset for Checkpoint<I, S>where
I: Offset,
source§fn offset_from(&self, start: &Self) -> usize
fn offset_from(&self, start: &Self) -> usize
source§impl<T: Ord, S> Ord for Checkpoint<T, S>
impl<T: Ord, S> Ord for Checkpoint<T, S>
source§impl<T: PartialEq, S> PartialEq for Checkpoint<T, S>
impl<T: PartialEq, S> PartialEq for Checkpoint<T, S>
source§impl<T: PartialOrd, S> PartialOrd for Checkpoint<T, S>
impl<T: PartialOrd, S> PartialOrd for Checkpoint<T, S>
impl<T: Copy, S> Copy for Checkpoint<T, S>
impl<T: Eq, S> Eq for Checkpoint<T, S>
Auto Trait Implementations§
impl<T, S> Freeze for Checkpoint<T, S>where
T: Freeze,
impl<T, S> RefUnwindSafe for Checkpoint<T, S>where
T: RefUnwindSafe,
S: RefUnwindSafe,
impl<T, S> Send for Checkpoint<T, S>
impl<T, S> Sync for Checkpoint<T, S>
impl<T, S> Unpin for Checkpoint<T, S>
impl<T, S> UnwindSafe for Checkpoint<T, S>where
T: UnwindSafe,
S: 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
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
)