Struct bitcoin::p2p::message_network::Reject
source · pub struct Reject {
pub message: Cow<'static, str>,
pub ccode: RejectReason,
pub reason: Cow<'static, str>,
pub hash: Hash,
}
Expand description
Reject message might be sent by peers rejecting one of our messages
Fields§
§message: Cow<'static, str>
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§
source§impl PartialEq<Reject> for Reject
impl PartialEq<Reject> for Reject
impl Eq for Reject
impl StructuralEq for Reject
impl StructuralPartialEq for Reject
Auto Trait Implementations§
impl RefUnwindSafe for Reject
impl Send for Reject
impl Sync for Reject
impl Unpin for Reject
impl UnwindSafe for Reject
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more