pub struct InMemoryCheckpoints { /* private fields */ }Expand description
An in-memory TrustedCheckpoint store, useful for tests and simple
single-process deployments.
Implementations§
Source§impl InMemoryCheckpoints
impl InMemoryCheckpoints
Trait Implementations§
Source§impl Clone for InMemoryCheckpoints
impl Clone for InMemoryCheckpoints
Source§fn clone(&self) -> InMemoryCheckpoints
fn clone(&self) -> InMemoryCheckpoints
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InMemoryCheckpoints
impl Debug for InMemoryCheckpoints
Source§impl Default for InMemoryCheckpoints
impl Default for InMemoryCheckpoints
Source§fn default() -> InMemoryCheckpoints
fn default() -> InMemoryCheckpoints
Returns the “default value” for a type. Read more
Source§impl TrustedCheckpoint for InMemoryCheckpoints
impl TrustedCheckpoint for InMemoryCheckpoints
Source§fn is_current_checkpoint(&self, exact_pca_bytes: &[u8]) -> bool
fn is_current_checkpoint(&self, exact_pca_bytes: &[u8]) -> bool
true when exact_pca_bytes are byte-for-byte a currently trusted
checkpoint.Auto Trait Implementations§
impl Freeze for InMemoryCheckpoints
impl RefUnwindSafe for InMemoryCheckpoints
impl Send for InMemoryCheckpoints
impl Sync for InMemoryCheckpoints
impl Unpin for InMemoryCheckpoints
impl UnsafeUnpin for InMemoryCheckpoints
impl UnwindSafe for InMemoryCheckpoints
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