Struct der::Sequence [−][src]
ASN.1 SEQUENCE
type.
Implementations
impl<'a> Sequence<'a>
[src]
pub fn as_bytes(&self) -> &'a [u8]
[src]
Borrow the inner byte sequence.
pub fn decode_nested<F, T>(&self, f: F) -> Result<T> where
F: FnOnce(&mut Decoder<'a>) -> Result<T>,
[src]
F: FnOnce(&mut Decoder<'a>) -> Result<T>,
Trait Implementations
impl AsRef<[u8]> for Sequence<'_>
[src]
impl<'a> Clone for Sequence<'a>
[src]
impl<'a> Copy for Sequence<'a>
[src]
impl<'a> Debug for Sequence<'a>
[src]
impl<'a> Encodable for Sequence<'a>
[src]
fn encoded_len(&self) -> Result<Length>
[src]
fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>
[src]
fn encode_to_slice<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8]>
[src]
fn encode_to_vec(&self, buf: &mut Vec<u8>) -> Result<Length>
[src]
fn to_vec(&self) -> Result<Vec<u8>>
[src]
impl<'a> Eq for Sequence<'a>
[src]
impl<'a> From<Sequence<'a>> for Any<'a>
[src]
impl<'a> Ord for Sequence<'a>
[src]
fn cmp(&self, other: &Sequence<'a>) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl<'a> PartialEq<Sequence<'a>> for Sequence<'a>
[src]
impl<'a> PartialOrd<Sequence<'a>> for Sequence<'a>
[src]
fn partial_cmp(&self, other: &Sequence<'a>) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'a> StructuralEq for Sequence<'a>
[src]
impl<'a> StructuralPartialEq for Sequence<'a>
[src]
impl<'a> Tagged for Sequence<'a>
[src]
impl<'a> TryFrom<Any<'a>> for Sequence<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for Sequence<'a>
impl<'a> Send for Sequence<'a>
impl<'a> Sync for Sequence<'a>
impl<'a> Unpin for Sequence<'a>
impl<'a> UnwindSafe for Sequence<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,