Struct bitcoin::network::message_network::Reject
source · pub struct Reject {
pub message: CommandString,
pub ccode: RejectReason,
pub reason: Cow<'static, str>,
pub hash: Hash,
}
Available on crate feature
std
only.Expand description
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 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more