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
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