pub enum ActiveRefMetadata {
Missing,
Valid(String),
Invalid(String),
}Expand description
Active-WAL ref metadata read result.
Variants§
Missing
Metadata file is absent.
Valid(String)
Metadata file contains a valid canonical local branch ref.
Invalid(String)
Metadata file exists but is malformed or not a valid local branch ref.
Trait Implementations§
Source§impl Clone for ActiveRefMetadata
impl Clone for ActiveRefMetadata
Source§fn clone(&self) -> ActiveRefMetadata
fn clone(&self) -> ActiveRefMetadata
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 ActiveRefMetadata
impl Debug for ActiveRefMetadata
impl Eq for ActiveRefMetadata
Source§impl PartialEq for ActiveRefMetadata
impl PartialEq for ActiveRefMetadata
impl StructuralPartialEq for ActiveRefMetadata
Auto Trait Implementations§
impl Freeze for ActiveRefMetadata
impl RefUnwindSafe for ActiveRefMetadata
impl Send for ActiveRefMetadata
impl Sync for ActiveRefMetadata
impl Unpin for ActiveRefMetadata
impl UnsafeUnpin for ActiveRefMetadata
impl UnwindSafe for ActiveRefMetadata
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