[][src]Struct interledger_packet::Reject

pub struct Reject { /* fields omitted */ }

Methods

impl Reject[src]

pub fn code(&self) -> ErrorCode[src]

pub fn triggered_by(&self) -> Option<Address>[src]

pub fn message(&self) -> &[u8][src]

pub fn data(&self) -> &[u8][src]

pub fn into_data(self) -> BytesMut[src]

Trait Implementations

impl AsRef<[u8]> for Reject[src]

impl From<Reject> for Packet[src]

impl From<Reject> for BytesMut[src]

impl Clone for Reject[src]

impl PartialEq<Reject> for Reject[src]

impl Debug for Reject[src]

impl TryFrom<BytesMut> for Reject[src]

type Error = ParseError

The type returned in the event of a conversion error.

impl StructuralPartialEq for Reject[src]

Auto Trait Implementations

impl Send for Reject

impl Sync for Reject

impl Unpin for Reject

impl UnwindSafe for Reject

impl RefUnwindSafe for Reject

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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

impl<T> ToHex for T where
    T: AsRef<[u8]>, 
[src]