pub enum StreamHealth {
Known(StreamDiagnostics),
Unavailable {
readiness: &'static str,
cursor: Option<u64>,
placed: Option<u64>,
last_error: &'static str,
},
}Expand description
A failed snapshot names its failure and carries no invented cursor or counts.
Variants§
Known(StreamDiagnostics)
Counts read under the authority’s trusted hold.
The hold cannot be trusted; admission remains closed.
Implementations§
Trait Implementations§
Source§impl Clone for StreamHealth
impl Clone for StreamHealth
Source§impl Debug for StreamHealth
impl Debug for StreamHealth
Auto Trait Implementations§
impl Freeze for StreamHealth
impl RefUnwindSafe for StreamHealth
impl Send for StreamHealth
impl Sync for StreamHealth
impl Unpin for StreamHealth
impl UnsafeUnpin for StreamHealth
impl UnwindSafe for StreamHealth
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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