#[repr(u8)]pub enum TsdVersion {
V1 = 1,
}Variants§
V1 = 1
Trait Implementations§
Source§impl Clone for TsdVersion
impl Clone for TsdVersion
Source§fn clone(&self) -> TsdVersion
fn clone(&self) -> TsdVersion
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 TsdVersion
impl Debug for TsdVersion
Source§impl<'__der_lifetime> DecodeValue<'__der_lifetime> for TsdVersion
impl<'__der_lifetime> DecodeValue<'__der_lifetime> for TsdVersion
Source§impl EncodeValue for TsdVersion
impl EncodeValue for TsdVersion
Source§impl Ord for TsdVersion
impl Ord for TsdVersion
Source§fn cmp(&self, other: &TsdVersion) -> Ordering
fn cmp(&self, other: &TsdVersion) -> 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 TsdVersion
impl PartialEq for TsdVersion
Source§impl PartialOrd for TsdVersion
impl PartialOrd for TsdVersion
Source§impl TryFrom<u8> for TsdVersion
impl TryFrom<u8> for TsdVersion
impl Copy for TsdVersion
impl Eq for TsdVersion
impl StructuralPartialEq for TsdVersion
Auto Trait Implementations§
impl Freeze for TsdVersion
impl RefUnwindSafe for TsdVersion
impl Send for TsdVersion
impl Sync for TsdVersion
impl Unpin for TsdVersion
impl UnwindSafe for TsdVersion
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'a, T> Decode<'a> for Twhere
T: DecodeValue<'a> + FixedTag,
impl<'a, T> Decode<'a> for Twhere
T: DecodeValue<'a> + FixedTag,
Source§impl<T> Encode for Twhere
T: EncodeValue + Tagged,
impl<T> Encode for Twhere
T: EncodeValue + Tagged,
Source§fn encoded_len(&self) -> Result<Length, Error>
fn encoded_len(&self) -> Result<Length, Error>
Compute the length of this value in bytes when encoded as ASN.1 DER.
Source§fn encode(&self, writer: &mut impl Writer) -> Result<(), Error>
fn encode(&self, writer: &mut impl Writer) -> Result<(), Error>
Encode this value as ASN.1 DER using the provided Writer.
Source§fn encode_to_slice<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8], Error>
fn encode_to_slice<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8], Error>
Encode this value to the provided byte slice, returning a sub-slice
containing the encoded message.