pub enum LedgerState {
Queued,
InFlight,
Acked,
Rejected,
Expired,
}Expand description
Ledger row state for one envelope (decision D10, D11).
Variants§
Queued
Accepted for a recipient that is not connected yet.
InFlight
Handed to the recipient’s client, awaiting ack.
Acked
The recipient settled it.
Rejected
Refused at the gate; the sender got an error frame.
Expired
A note whose ttl_ms elapsed before delivery.
Implementations§
Trait Implementations§
Source§impl Clone for LedgerState
impl Clone for LedgerState
Source§fn clone(&self) -> LedgerState
fn clone(&self) -> LedgerState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LedgerState
Source§impl Debug for LedgerState
impl Debug for LedgerState
Source§impl<'de> Deserialize<'de> for LedgerState
impl<'de> Deserialize<'de> for LedgerState
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LedgerState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LedgerState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for LedgerState
impl Display for LedgerState
impl Eq for LedgerState
Source§impl Hash for LedgerState
impl Hash for LedgerState
Source§impl JsonSchema for LedgerState
impl JsonSchema for LedgerState
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for LedgerState
impl PartialEq for LedgerState
Source§impl Serialize for LedgerState
impl Serialize for LedgerState
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for LedgerState
Auto Trait Implementations§
impl Freeze for LedgerState
impl RefUnwindSafe for LedgerState
impl Send for LedgerState
impl Sync for LedgerState
impl Unpin for LedgerState
impl UnsafeUnpin for LedgerState
impl UnwindSafe for LedgerState
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