Struct diem_types::mempool_status::MempoolStatus [−][src]
pub struct MempoolStatus {
pub code: MempoolStatusCode,
pub message: String,
}
Expand description
A MempoolStatus
is represented as a required status code that is semantic coupled with an optional sub status and message.
Fields
code: MempoolStatusCode
insertion status code
message: String
optional message
Implementations
Adds a message to the Mempool status.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for MempoolStatus
impl Send for MempoolStatus
impl Sync for MempoolStatus
impl Unpin for MempoolStatus
impl UnwindSafe for MempoolStatus
Blanket Implementations
Mutably borrows from an owned value. Read more