pub enum InteractionPhase {
Locating,
Applying,
Progress {
label: String,
completed: Option<u64>,
total: Option<u64>,
},
Waiting {
reason: Option<String>,
},
Committed,
Failed {
code: Option<String>,
message: String,
},
Cancelled {
message: Option<String>,
},
}Expand description
What the invocation is visibly doing. Terminal details complement the durable invocation result; they do not replace it.
Variants§
Implementations§
Source§impl InteractionPhase
impl InteractionPhase
pub fn serialize<__S>(
__self: &InteractionPhase,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Source§impl<'de> InteractionPhase
impl<'de> InteractionPhase
pub fn deserialize<__D>(
__deserializer: __D,
) -> Result<InteractionPhase, __D::Error>where
__D: Deserializer<'de>,
Source§impl InteractionPhase
impl InteractionPhase
pub fn is_terminal(&self) -> bool
Trait Implementations§
Source§impl Clone for InteractionPhase
impl Clone for InteractionPhase
Source§impl Debug for InteractionPhase
impl Debug for InteractionPhase
Source§impl<'de> Deserialize<'de> for InteractionPhase
impl<'de> Deserialize<'de> for InteractionPhase
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for InteractionPhase
Source§impl PartialEq for InteractionPhase
impl PartialEq for InteractionPhase
Source§impl Serialize for InteractionPhase
impl Serialize for InteractionPhase
impl StructuralPartialEq for InteractionPhase
Auto Trait Implementations§
impl Forget for InteractionPhase
impl Freeze for InteractionPhase
impl Move for InteractionPhase
impl RefUnwindSafe for InteractionPhase
impl Send for InteractionPhase
impl Sync for InteractionPhase
impl Unpin for InteractionPhase
impl UnsafeUnpin for InteractionPhase
impl UnwindSafe for InteractionPhase
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more