#[non_exhaustive]pub enum SessionViewHealth {
Unavailable,
Unknown(String),
}Expand description
The view-health state. Open enum (x-msp-openness: open): a client MUST
ignore an unrecognized value. v1 emits only Unavailable; openness itself
reserves additive room for a future re-arm and for the durable-degraded
axis, so no never-emitted token is baked onto the stable surface now.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
The live view stream is unavailable — see noneReason.
Unknown(String)
A value from a newer host, kept verbatim so an older client decodes the rest of the message. Never construct it with a known word.
Implementations§
Trait Implementations§
Source§impl Clone for SessionViewHealth
impl Clone for SessionViewHealth
Source§impl Debug for SessionViewHealth
impl Debug for SessionViewHealth
Source§impl<'de> Deserialize<'de> for SessionViewHealth
impl<'de> Deserialize<'de> for SessionViewHealth
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 SessionViewHealth
Source§impl PartialEq for SessionViewHealth
impl PartialEq for SessionViewHealth
Source§impl Serialize for SessionViewHealth
impl Serialize for SessionViewHealth
impl StructuralPartialEq for SessionViewHealth
Auto Trait Implementations§
impl Freeze for SessionViewHealth
impl RefUnwindSafe for SessionViewHealth
impl Send for SessionViewHealth
impl Sync for SessionViewHealth
impl Unpin for SessionViewHealth
impl UnsafeUnpin for SessionViewHealth
impl UnwindSafe for SessionViewHealth
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