pub struct Version(/* private fields */);
Expand description
A version number negotiated during the setup.
Implementations§
Source§impl Version
impl Version
pub const CURRENT: Version = Version::FORK_02
Trait Implementations§
Source§impl Decode for Version
impl Decode for Version
fn decode_more<B: Buf>(buf: &mut B, remain: usize) -> Result<Self, DecodeError>
fn decode_cap<B: Buf>(buf: &mut B, remain: usize) -> Result<(), DecodeError>
Source§impl Ord for Version
impl Ord for Version
Source§impl PartialOrd for Version
impl PartialOrd for Version
impl Copy for Version
impl Eq for Version
impl StructuralPartialEq for Version
Auto Trait Implementations§
impl Freeze for Version
impl RefUnwindSafe for Version
impl Send for Version
impl Sync for Version
impl Unpin for Version
impl UnwindSafe for Version
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