pub struct WorkflowTaskTombstoneArchiveError { /* private fields */ }Expand description
Safe archive adapter failure.
Implementations§
Source§impl WorkflowTaskTombstoneArchiveError
impl WorkflowTaskTombstoneArchiveError
Sourcepub fn new(message: impl Into<String>) -> Self
pub fn new(message: impl Into<String>) -> Self
Creates a bounded safe archive failure with the fallback classification.
Sourcepub fn with_kind(
kind: WorkflowTaskTombstoneArchiveErrorKind,
message: impl Into<String>,
) -> Self
pub fn with_kind( kind: WorkflowTaskTombstoneArchiveErrorKind, message: impl Into<String>, ) -> Self
Creates a bounded safe archive failure with a stable classification.
Sourcepub const fn kind(&self) -> WorkflowTaskTombstoneArchiveErrorKind
pub const fn kind(&self) -> WorkflowTaskTombstoneArchiveErrorKind
Returns the stable failure class without exposing provider detail.
Trait Implementations§
Source§impl Clone for WorkflowTaskTombstoneArchiveError
impl Clone for WorkflowTaskTombstoneArchiveError
Source§fn clone(&self) -> WorkflowTaskTombstoneArchiveError
fn clone(&self) -> WorkflowTaskTombstoneArchiveError
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 Eq for WorkflowTaskTombstoneArchiveError
Source§impl Error for WorkflowTaskTombstoneArchiveError
impl Error for WorkflowTaskTombstoneArchiveError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<WorkflowTaskTombstoneArchiveError> for WorkflowTaskGovernanceError
impl From<WorkflowTaskTombstoneArchiveError> for WorkflowTaskGovernanceError
Source§fn from(source: WorkflowTaskTombstoneArchiveError) -> Self
fn from(source: WorkflowTaskTombstoneArchiveError) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for WorkflowTaskTombstoneArchiveError
Auto Trait Implementations§
impl Freeze for WorkflowTaskTombstoneArchiveError
impl RefUnwindSafe for WorkflowTaskTombstoneArchiveError
impl Send for WorkflowTaskTombstoneArchiveError
impl Sync for WorkflowTaskTombstoneArchiveError
impl Unpin for WorkflowTaskTombstoneArchiveError
impl UnsafeUnpin for WorkflowTaskTombstoneArchiveError
impl UnwindSafe for WorkflowTaskTombstoneArchiveError
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