Struct der::asn1::OctetString
source · pub struct OctetString<'a> { /* private fields */ }
Expand description
ASN.1 OCTET STRING
type.
Implementations§
source§impl<'a> OctetString<'a>
impl<'a> OctetString<'a>
Trait Implementations§
source§impl AsRef<[u8]> for OctetString<'_>
impl AsRef<[u8]> for OctetString<'_>
source§impl<'a> Clone for OctetString<'a>
impl<'a> Clone for OctetString<'a>
source§fn clone(&self) -> OctetString<'a>
fn clone(&self) -> OctetString<'a>
Returns a copy 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<'a> Debug for OctetString<'a>
impl<'a> Debug for OctetString<'a>
source§impl<'a> DecodeValue<'a> for OctetString<'a>
impl<'a> DecodeValue<'a> for OctetString<'a>
source§impl EncodeValue for OctetString<'_>
impl EncodeValue for OctetString<'_>
source§impl<'a> From<&OctetString<'a>> for OctetString<'a>
impl<'a> From<&OctetString<'a>> for OctetString<'a>
source§fn from(value: &OctetString<'a>) -> OctetString<'a>
fn from(value: &OctetString<'a>) -> OctetString<'a>
Converts to this type from the input type.
source§impl<'a> From<OctetString<'a>> for &'a [u8]
impl<'a> From<OctetString<'a>> for &'a [u8]
source§fn from(octet_string: OctetString<'a>) -> &'a [u8]
fn from(octet_string: OctetString<'a>) -> &'a [u8]
Converts to this type from the input type.
source§impl<'a> From<OctetString<'a>> for Any<'a>
impl<'a> From<OctetString<'a>> for Any<'a>
source§fn from(octet_string: OctetString<'a>) -> Any<'a>
fn from(octet_string: OctetString<'a>) -> Any<'a>
Converts to this type from the input type.
source§impl<'a> Ord for OctetString<'a>
impl<'a> Ord for OctetString<'a>
source§fn cmp(&self, other: &OctetString<'a>) -> Ordering
fn cmp(&self, other: &OctetString<'a>) -> 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<'a> PartialEq for OctetString<'a>
impl<'a> PartialEq for OctetString<'a>
source§impl<'a> PartialOrd for OctetString<'a>
impl<'a> PartialOrd for OctetString<'a>
source§impl<'a> TryFrom<Any<'a>> for OctetString<'a>
impl<'a> TryFrom<Any<'a>> for OctetString<'a>
impl<'a> Copy for OctetString<'a>
impl<'a> Eq for OctetString<'a>
impl OrdIsValueOrd for OctetString<'_>
impl<'a> StructuralPartialEq for OctetString<'a>
Auto Trait Implementations§
impl<'a> Freeze for OctetString<'a>
impl<'a> RefUnwindSafe for OctetString<'a>
impl<'a> Send for OctetString<'a>
impl<'a> Sync for OctetString<'a>
impl<'a> Unpin for OctetString<'a>
impl<'a> UnwindSafe for OctetString<'a>
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)