[][src]Struct rpki::rta::MultiSignedObject

pub struct MultiSignedObject { /* fields omitted */ }

The flavour of a signed object used for RTAs.

Implementations

impl MultiSignedObject[src]

pub fn content(&self) -> &OctetString[src]

Returns a reference to the object’s content.

pub fn decode_content<F, T>(&self, op: F) -> Result<T, Error> where
    F: FnOnce(&mut Constructed<'_, OctetStringSource>) -> Result<T, Error>, 
[src]

Decodes the object’s content.

impl MultiSignedObject[src]

pub fn decode<S: Source>(source: S, strict: bool) -> Result<Self, S::Err>[src]

pub fn take_from<S: Source>(
    cons: &mut Constructed<'_, S>,
    strict: bool
) -> Result<Self, S::Err>
[src]

pub fn encode_ref<'a>(&'a self) -> impl Values + 'a[src]

Returns a value encoder for a reference to a signed object.

Trait Implementations

impl Clone for MultiSignedObject[src]

impl Debug for MultiSignedObject[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.