pub enum StableConduitError {
Encode(SerializeError),
Decode(DeserializeError),
Io(Error),
LinkDead,
Setup(String),
SessionLost,
}Variants§
Encode(SerializeError)
Decode(DeserializeError)
Io(Error)
LinkDead
Setup(String)
SessionLost
The server rejected our resume_key; the session is permanently lost.
Trait Implementations§
Source§impl Debug for StableConduitError
impl Debug for StableConduitError
Source§impl Display for StableConduitError
impl Display for StableConduitError
Source§impl Error for StableConduitError
impl Error for StableConduitError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for StableConduitError
impl !RefUnwindSafe for StableConduitError
impl Send for StableConduitError
impl Sync for StableConduitError
impl Unpin for StableConduitError
impl UnsafeUnpin for StableConduitError
impl !UnwindSafe for StableConduitError
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