#[repr(u8)]pub enum OplogEntryVersion {
V1 = 0,
V2 = 1,
}Expand description
Represents the oplog entry version; this is for backward compatibility and most use cases should always use (and expect) the latest version.
Variants§
Trait Implementations§
Source§impl Clone for OplogEntryVersion
impl Clone for OplogEntryVersion
Source§fn clone(&self) -> OplogEntryVersion
fn clone(&self) -> OplogEntryVersion
Returns a duplicate of the value. Read more
1.0.0 · 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 OplogEntryVersion
impl Debug for OplogEntryVersion
Source§impl Ord for OplogEntryVersion
impl Ord for OplogEntryVersion
Source§fn cmp(&self, other: &OplogEntryVersion) -> Ordering
fn cmp(&self, other: &OplogEntryVersion) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OplogEntryVersion
impl PartialEq for OplogEntryVersion
Source§impl PartialOrd for OplogEntryVersion
impl PartialOrd for OplogEntryVersion
impl Copy for OplogEntryVersion
impl Eq for OplogEntryVersion
impl StructuralPartialEq for OplogEntryVersion
Auto Trait Implementations§
impl Freeze for OplogEntryVersion
impl RefUnwindSafe for OplogEntryVersion
impl Send for OplogEntryVersion
impl Sync for OplogEntryVersion
impl Unpin for OplogEntryVersion
impl UnwindSafe for OplogEntryVersion
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