#[repr(u32)]pub enum Version {
V0x10 = 16,
V0x13 = 19,
}Expand description
Version of the algorithm.
Variants§
V0x10 = 16
Version 16 (0x10 in hex)
Performs overwrite internally
V0x13 = 19
Version 19 (0x13 in hex, default)
Performs XOR internally
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for Version
impl<'__de, __Context> BorrowDecode<'__de, __Context> for Version
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
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