Struct bdk_chain::bitcoin::p2p::message_network::Reject
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§
impl Eq for Reject
impl StructuralPartialEq for Reject
Auto Trait Implementations§
impl Freeze for Reject
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more