[][src]Struct sv::messages::Reject

pub struct Reject {
    pub message: String,
    pub code: RejectCode,
    pub reason: String,
    pub data: Vec<u8>,
}

Rejected message

Fields

Type of message rejected

Error code

Reason for rejection

Optional extra data that may be present for some rejections

Currently this is only a 32-byte hash of the block or transaction if applicable.

Trait Implementations

impl Payload<Reject> for Reject
[src]

impl Serializable<Reject> for Reject
[src]

impl Clone for Reject
[src]

Performs copy-assignment from source. Read more

impl Eq for Reject
[src]

impl PartialEq<Reject> for Reject
[src]

impl Debug for Reject
[src]

impl Hash for Reject
[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for Reject

impl Sync for Reject

Blanket Implementations

impl<T> From for T
[src]

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

impl<T> Same for T

Should always be Self