pub struct OperationFailure { /* private fields */ }Implementations§
Source§impl OperationFailure
impl OperationFailure
pub fn new( identity: ExecutionIdentityEnvelope, phase: ProfilePhase, code: impl Into<String>, message: impl Into<String>, retryable: bool, ) -> Result<Self, VNextError>
pub fn identity(&self) -> &ExecutionIdentityEnvelope
pub const fn phase(&self) -> ProfilePhase
pub fn code(&self) -> &str
pub fn message(&self) -> &str
pub const fn retryable(&self) -> bool
pub fn decode_untrusted( bytes: &[u8], ) -> Result<UnvalidatedOperationFailure, VNextError>
Trait Implementations§
Source§impl Clone for OperationFailure
impl Clone for OperationFailure
Source§fn clone(&self) -> OperationFailure
fn clone(&self) -> OperationFailure
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 OperationFailure
impl Debug for OperationFailure
impl Eq for OperationFailure
Source§impl PartialEq for OperationFailure
impl PartialEq for OperationFailure
Source§impl Serialize for OperationFailure
impl Serialize for OperationFailure
impl StructuralPartialEq for OperationFailure
Auto Trait Implementations§
impl Freeze for OperationFailure
impl RefUnwindSafe for OperationFailure
impl Send for OperationFailure
impl Sync for OperationFailure
impl Unpin for OperationFailure
impl UnsafeUnpin for OperationFailure
impl UnwindSafe for OperationFailure
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