#[non_exhaustive]pub enum DigestField {
PackId,
NewId,
ExpectedId,
}Expand description
The wire field a digest came from; the ssh wire names it in its message.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
PackId
pack_id of PackExists or DownloadPack.
NewId
new_id of UpdateRef or AdvanceRefs.
ExpectedId
expected_id of a MATCH write.
Trait Implementations§
Source§impl Clone for DigestField
impl Clone for DigestField
impl Copy for DigestField
Source§impl Debug for DigestField
impl Debug for DigestField
impl Eq for DigestField
Source§impl PartialEq for DigestField
impl PartialEq for DigestField
impl StructuralPartialEq for DigestField
Auto Trait Implementations§
impl Freeze for DigestField
impl RefUnwindSafe for DigestField
impl Send for DigestField
impl Sync for DigestField
impl Unpin for DigestField
impl UnsafeUnpin for DigestField
impl UnwindSafe for DigestField
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