pub enum RecordState {
Absent,
Present {
rk_version: String,
payload_sha256: Digest,
schema_version: u64,
origin: String,
sha256: Digest,
},
Invalid {
reason: String,
},
}Expand description
The landing record, as found.
Variants§
Absent
No record at the target.
Present
A record this engine read.
Fields
Invalid
A record this engine could not read.
Trait Implementations§
Source§impl Clone for RecordState
impl Clone for RecordState
Source§fn clone(&self) -> RecordState
fn clone(&self) -> RecordState
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 RecordState
impl Debug for RecordState
Source§impl<'de> Deserialize<'de> for RecordState
impl<'de> Deserialize<'de> for RecordState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RecordState
impl RefUnwindSafe for RecordState
impl Send for RecordState
impl Sync for RecordState
impl Unpin for RecordState
impl UnsafeUnpin for RecordState
impl UnwindSafe for RecordState
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