pub enum SessionError {
Show 16 variants
BackendUnavailable,
InvalidInput,
DeadlineExpired,
PeerDisconnected,
IdentityMismatch,
MalformedPeer,
Ambiguous,
NegotiationFailed,
NativeNegotiation(NegotiationError),
Control(ControlError),
Batch(BatchError),
ActiveLimit,
PeerPreparationFailed,
ActivationFailed,
Poisoned,
Native,
}Expand description
Public session construction, negotiation, or control failure.
Variants§
The selected native target adapter is not composed yet.
InvalidInput
Local command, environment, payload, or option input is invalid.
DeadlineExpired
The one caller-derived absolute deadline expired.
PeerDisconnected
The authenticated control endpoint closed before the operation completed.
IdentityMismatch
Kernel-authenticated process or executable identity did not match.
MalformedPeer
The peer supplied malformed or noncanonical framing.
Ambiguous
Local I/O completed at the deadline boundary with unknowable peer state.
NegotiationFailed
HELLO or challenged decision validation failed.
NativeNegotiation(NegotiationError)
Local native capability discovery or limit negotiation failed.
Control(ControlError)
Application-control sequencing or bounds validation failed.
Batch(BatchError)
Portable batch construction or committed-set validation failed.
ActiveLimit
Current active region or byte capacity cannot admit the whole batch.
PeerPreparationFailed
The peer reported a bounded local native-preparation failure before capability transfer.
ActivationFailed
Native mapping activation failed atomically without exposing a partial set.
Poisoned
Native negotiation transport was already terminally poisoned.
Native
A bounded native operation failed without a more specific safe category.
Trait Implementations§
Source§impl Clone for SessionError
impl Clone for SessionError
Source§fn clone(&self) -> SessionError
fn clone(&self) -> SessionError
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for SessionError
Source§impl Debug for SessionError
impl Debug for SessionError
Source§impl Display for SessionError
impl Display for SessionError
impl Eq for SessionError
Source§impl Error for SessionError
impl Error for SessionError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()