pub(crate) enum SessionOpenError {
DeviceNotFound(String),
Transient(String),
Aborted,
}Expand description
Why a session failed to open: drives the retry policy of the caller.
Variants§
DeviceNotFound(String)
The named source is absent at startup (misconfiguration-ish); the caller gives it only its short bring-up window rather than the full startup retry budget.
Transient(String)
Server down, busy, or a bring-up race: retryable.
Aborted
stop_pending observed while opening; caller must shut down cleanly.
Auto Trait Implementations§
impl Freeze for SessionOpenError
impl RefUnwindSafe for SessionOpenError
impl Send for SessionOpenError
impl Sync for SessionOpenError
impl Unpin for SessionOpenError
impl UnsafeUnpin for SessionOpenError
impl UnwindSafe for SessionOpenError
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