pub struct InterfaceError {
pub code: InterfaceErrorCode,
pub layer: ErrorLayer,
pub message: String,
pub correlation_id: CorrelationId,
pub command_id: Option<CommandId>,
pub retryable: bool,
pub retry_after_ms: Option<u64>,
pub reconciliation_required: bool,
pub required_capability: Option<Capability>,
}Fields§
§code: InterfaceErrorCode§layer: ErrorLayer§message: String§correlation_id: CorrelationId§command_id: Option<CommandId>§retryable: bool§retry_after_ms: Option<u64>§reconciliation_required: bool§required_capability: Option<Capability>Trait Implementations§
Source§impl Clone for InterfaceError
impl Clone for InterfaceError
Source§impl Debug for InterfaceError
impl Debug for InterfaceError
Source§impl<'de> Deserialize<'de> for InterfaceError
impl<'de> Deserialize<'de> for InterfaceError
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
Auto Trait Implementations§
impl Freeze for InterfaceError
impl RefUnwindSafe for InterfaceError
impl Send for InterfaceError
impl Sync for InterfaceError
impl Unpin for InterfaceError
impl UnsafeUnpin for InterfaceError
impl UnwindSafe for InterfaceError
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