pub enum CantonCommandStatus {
Accepted,
Committed,
Rejected {
reason: String,
},
TimedOut,
}Expand description
Status of a Canton command submission.
Commands go through: Accepted → Committed (success) or Rejected (failure).
The CommandCompletionService streams these status updates.
Variants§
Accepted
Command accepted by the participant and being processed
Committed
Command successfully committed to the ledger
Rejected
Command rejected by the ledger (validation failure, authorization error, etc.)
TimedOut
Command timed out before receiving a definitive result
Trait Implementations§
Source§impl Clone for CantonCommandStatus
impl Clone for CantonCommandStatus
Source§fn clone(&self) -> CantonCommandStatus
fn clone(&self) -> CantonCommandStatus
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 moreSource§impl Debug for CantonCommandStatus
impl Debug for CantonCommandStatus
Source§impl<'de> Deserialize<'de> for CantonCommandStatus
impl<'de> Deserialize<'de> for CantonCommandStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CantonCommandStatus
Source§impl PartialEq for CantonCommandStatus
impl PartialEq for CantonCommandStatus
Source§fn eq(&self, other: &CantonCommandStatus) -> bool
fn eq(&self, other: &CantonCommandStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CantonCommandStatus
impl Serialize for CantonCommandStatus
impl StructuralPartialEq for CantonCommandStatus
Auto Trait Implementations§
impl Freeze for CantonCommandStatus
impl RefUnwindSafe for CantonCommandStatus
impl Send for CantonCommandStatus
impl Sync for CantonCommandStatus
impl Unpin for CantonCommandStatus
impl UnsafeUnpin for CantonCommandStatus
impl UnwindSafe for CantonCommandStatus
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