#[non_exhaustive]pub enum OutputRefAvailability {
Available,
Missing,
Unsupported,
AccessFailed,
Unknown(String),
}Expand description
Whether a stored output’s bytes are servable. Open — durable runtime vocabulary may grow additively.
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.
Available
The bytes are stored and servable.
Missing
The stored bytes are gone.
Unsupported
The store does not serve this kind.
AccessFailed
The last access attempt failed.
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 OutputRefAvailability
impl Clone for OutputRefAvailability
Source§impl Debug for OutputRefAvailability
impl Debug for OutputRefAvailability
Source§impl<'de> Deserialize<'de> for OutputRefAvailability
impl<'de> Deserialize<'de> for OutputRefAvailability
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 OutputRefAvailability
Source§impl PartialEq for OutputRefAvailability
impl PartialEq for OutputRefAvailability
Source§impl Serialize for OutputRefAvailability
impl Serialize for OutputRefAvailability
impl StructuralPartialEq for OutputRefAvailability
Auto Trait Implementations§
impl Freeze for OutputRefAvailability
impl RefUnwindSafe for OutputRefAvailability
impl Send for OutputRefAvailability
impl Sync for OutputRefAvailability
impl Unpin for OutputRefAvailability
impl UnsafeUnpin for OutputRefAvailability
impl UnwindSafe for OutputRefAvailability
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