pub enum NoProgress {}Expand description
The progress type of a method that reports none. Uninhabited: no value of
it exists, so a stream typed Frame<I, NoProgress> can only ever yield
items.
It deserializes from nothing — a progress frame for a method whose schema
declares no progress is a contract break, reported as
ClientError::Decode under .with_progress() (and dropped undecoded
without it, as every progress frame is).
Trait Implementations§
Source§impl Clone for NoProgress
impl Clone for NoProgress
impl Copy for NoProgress
Source§impl Debug for NoProgress
impl Debug for NoProgress
Source§impl<'de> Deserialize<'de> for NoProgress
impl<'de> Deserialize<'de> for NoProgress
Source§fn deserialize<D: Deserializer<'de>>(_: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(_: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for NoProgress
Source§impl Hash for NoProgress
impl Hash for NoProgress
Source§impl Ord for NoProgress
impl Ord for NoProgress
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for NoProgress
impl PartialEq for NoProgress
Source§impl PartialOrd for NoProgress
impl PartialOrd for NoProgress
Source§impl Serialize for NoProgress
impl Serialize for NoProgress
impl StructuralPartialEq for NoProgress
Auto Trait Implementations§
impl Freeze for NoProgress
impl RefUnwindSafe for NoProgress
impl Send for NoProgress
impl Sync for NoProgress
impl Unpin for NoProgress
impl UnsafeUnpin for NoProgress
impl UnwindSafe for NoProgress
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