[][src]Enum interledger_packet::Packet

pub enum Packet {
    Prepare(Prepare),
    Fulfill(Fulfill),
    Reject(Reject),
}

Variants

Prepare(Prepare)
Fulfill(Fulfill)
Reject(Reject)

Trait Implementations

impl From<Packet> for BytesMut[src]

impl From<Prepare> for Packet[src]

impl From<Fulfill> for Packet[src]

impl From<Reject> for Packet[src]

impl Clone for Packet[src]

impl PartialEq<Packet> for Packet[src]

impl Debug for Packet[src]

impl TryFrom<BytesMut> for Packet[src]

type Error = ParseError

The type returned in the event of a conversion error.

impl StructuralPartialEq for Packet[src]

Auto Trait Implementations

impl Send for Packet

impl Sync for Packet

impl Unpin for Packet

impl UnwindSafe for Packet

impl RefUnwindSafe for Packet

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]