pub enum HeaderVersion {
V1,
V2,
V3,
V4,
V5,
}Expand description
This stores all possible versions of the header
Variants§
Trait Implementations§
Source§impl Clone for HeaderVersion
impl Clone for HeaderVersion
Source§fn clone(&self) -> HeaderVersion
fn clone(&self) -> HeaderVersion
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 moreimpl Copy for HeaderVersion
Source§impl Display for HeaderVersion
impl Display for HeaderVersion
impl Eq for HeaderVersion
Source§impl PartialEq for HeaderVersion
impl PartialEq for HeaderVersion
Source§fn eq(&self, other: &HeaderVersion) -> bool
fn eq(&self, other: &HeaderVersion) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for HeaderVersion
impl PartialOrd for HeaderVersion
impl StructuralPartialEq for HeaderVersion
Auto Trait Implementations§
impl Freeze for HeaderVersion
impl RefUnwindSafe for HeaderVersion
impl Send for HeaderVersion
impl Sync for HeaderVersion
impl Unpin for HeaderVersion
impl UnsafeUnpin for HeaderVersion
impl UnwindSafe for HeaderVersion
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