pub enum SessionWriteErrorCode {
Enospc,
Edquot,
Unknown(String),
}Expand description
SessionWritesLostMessage::error_code: why the writes failed.
Variants§
Enospc
ENOSPC — the disk was full.
Edquot
EDQUOT — the disk quota was used up.
Unknown(String)
A code not yet known to this version of the crate.
Implementations§
Trait Implementations§
Source§impl Clone for SessionWriteErrorCode
impl Clone for SessionWriteErrorCode
Source§impl Debug for SessionWriteErrorCode
impl Debug for SessionWriteErrorCode
Source§impl<'de> Deserialize<'de> for SessionWriteErrorCode
impl<'de> Deserialize<'de> for SessionWriteErrorCode
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
Source§impl Display for SessionWriteErrorCode
impl Display for SessionWriteErrorCode
impl Eq for SessionWriteErrorCode
Source§impl From<&str> for SessionWriteErrorCode
impl From<&str> for SessionWriteErrorCode
Source§impl Hash for SessionWriteErrorCode
impl Hash for SessionWriteErrorCode
Source§impl PartialEq for SessionWriteErrorCode
impl PartialEq for SessionWriteErrorCode
Source§impl Serialize for SessionWriteErrorCode
impl Serialize for SessionWriteErrorCode
impl StructuralPartialEq for SessionWriteErrorCode
Auto Trait Implementations§
impl Forget for SessionWriteErrorCode
impl Freeze for SessionWriteErrorCode
impl RefUnwindSafe for SessionWriteErrorCode
impl Send for SessionWriteErrorCode
impl Sync for SessionWriteErrorCode
impl Unpin for SessionWriteErrorCode
impl UnsafeUnpin for SessionWriteErrorCode
impl UnwindSafe for SessionWriteErrorCode
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