pub enum SnapshotStatus {
Archived,
Closing,
Current,
InProgress,
}
Expand description
SnapshotStatus
Variants
Archived
Closing
Current
InProgress
Trait Implementations
sourceimpl BorshDeserialize for SnapshotStatus
impl BorshDeserialize for SnapshotStatus
sourcefn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes. Read more
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
sourceimpl BorshSerialize for SnapshotStatus
impl BorshSerialize for SnapshotStatus
sourceimpl Clone for SnapshotStatus
impl Clone for SnapshotStatus
sourcefn clone(&self) -> SnapshotStatus
fn clone(&self) -> SnapshotStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SnapshotStatus
impl Debug for SnapshotStatus
sourceimpl PartialEq<SnapshotStatus> for SnapshotStatus
impl PartialEq<SnapshotStatus> for SnapshotStatus
sourcefn eq(&self, other: &SnapshotStatus) -> bool
fn eq(&self, other: &SnapshotStatus) -> bool
impl StructuralPartialEq for SnapshotStatus
Auto Trait Implementations
impl RefUnwindSafe for SnapshotStatus
impl Send for SnapshotStatus
impl Sync for SnapshotStatus
impl Unpin for SnapshotStatus
impl UnwindSafe for SnapshotStatus
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more