pub enum UpdateMark {
Accepted,
Progress {
sequence: u64,
},
Item {
sequence: u64,
},
Finished,
}Expand description
How far an invocation’s updates had got when its caller last looked:
what a waiting Observe asks the
provider to move past.
Variants§
Implementations§
Source§impl UpdateMark
impl UpdateMark
Sourcepub const fn of(update: &InvocationUpdate) -> Self
pub const fn of(update: &InvocationUpdate) -> Self
Where update stands.
Trait Implementations§
Source§impl Clone for UpdateMark
impl Clone for UpdateMark
impl Copy for UpdateMark
Source§impl Debug for UpdateMark
impl Debug for UpdateMark
Source§impl<'de> Deserialize<'de> for UpdateMark
impl<'de> Deserialize<'de> for UpdateMark
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
impl Eq for UpdateMark
Source§impl Hash for UpdateMark
impl Hash for UpdateMark
Source§impl PartialEq for UpdateMark
impl PartialEq for UpdateMark
Source§impl Serialize for UpdateMark
impl Serialize for UpdateMark
impl StructuralPartialEq for UpdateMark
Auto Trait Implementations§
impl Forget for UpdateMark
impl Freeze for UpdateMark
impl Move for UpdateMark
impl RefUnwindSafe for UpdateMark
impl Send for UpdateMark
impl Sync for UpdateMark
impl Unpin for UpdateMark
impl UnsafeUnpin for UpdateMark
impl UnwindSafe for UpdateMark
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