[][src]Struct bitcoin::network::message_network::Reject

pub struct Reject {
    pub message: CommandString,
    pub ccode: RejectReason,
    pub reason: Cow<'static, str>,
    pub hash: Hash,
}

Reject message might be sent by peers rejecting one of our messages

Fields

message: CommandString

message type rejected

ccode: RejectReason

reason of rejection as code

reason: Cow<'static, str>

reason of rejectection

hash: Hash

reference to rejected item

Trait Implementations

impl Encodable for Reject[src]

impl Decodable for Reject[src]

impl Clone for Reject[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl PartialEq<Reject> for Reject[src]

impl Eq for Reject[src]

impl Debug for Reject[src]

Auto Trait Implementations

impl Unpin for Reject

impl Sync for Reject

impl Send for Reject

impl UnwindSafe for Reject

impl RefUnwindSafe for Reject

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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