pub struct InstanceNotFound;Expand description
Error returned when converting a GetInstanceResponse to an OrchestrationState
when the instance does not exist or has no workflow state.
This is the dedicated TryFrom error type. At the client API boundary it is
typically wrapped into DurableTaskError::InstanceNotFound with the
caller-known instance ID attached.
Trait Implementations§
Source§impl Clone for InstanceNotFound
impl Clone for InstanceNotFound
Source§fn clone(&self) -> InstanceNotFound
fn clone(&self) -> InstanceNotFound
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 moreAuto Trait Implementations§
impl Freeze for InstanceNotFound
impl RefUnwindSafe for InstanceNotFound
impl Send for InstanceNotFound
impl Sync for InstanceNotFound
impl Unpin for InstanceNotFound
impl UnsafeUnpin for InstanceNotFound
impl UnwindSafe for InstanceNotFound
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request