pub enum RoutingSessionError {
Show 13 variants
Session(Error),
Invalid(InvalidRoute),
UnsupportedTopology(String),
Drift(String),
Control(RoutingError<String>),
Transaction(TransactionError<String>),
PowerRestore {
operation: Option<Box<RoutingSessionError>>,
detail: String,
},
Scarlett(ReadError<String>),
ScarlettMix(MixWriteError<String>),
ScarlettMux(MuxWriteError<String>),
Fcp(FcpWriteError<String>),
Gen1Read(Gen1Failure<String>),
Gen1(Gen1WriteError<String>),
}Expand description
Typed failures preserve failed-change and rollback information.
Variants§
Session(Error)
Invalid(InvalidRoute)
UnsupportedTopology(String)
Drift(String)
Control(RoutingError<String>)
Transaction(TransactionError<String>)
PowerRestore
Scoped ADC3 power hand-back failed. Preserve an operation failure in its
original typed form; None means the routing operation itself succeeded.
Scarlett(ReadError<String>)
ScarlettMix(MixWriteError<String>)
ScarlettMux(MuxWriteError<String>)
Fcp(FcpWriteError<String>)
Gen1Read(Gen1Failure<String>)
Gen1(Gen1WriteError<String>)
Trait Implementations§
Source§impl Debug for RoutingSessionError
impl Debug for RoutingSessionError
Source§impl Display for RoutingSessionError
impl Display for RoutingSessionError
Source§impl Error for RoutingSessionError
impl Error for RoutingSessionError
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()
Source§impl From<RoutingSessionError> for RoutingApplyError
impl From<RoutingSessionError> for RoutingApplyError
Source§fn from(error: RoutingSessionError) -> Self
fn from(error: RoutingSessionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Forget for RoutingSessionError
impl Freeze for RoutingSessionErrorwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<AltSetting>: Freeze,
PhantomData<(ControlKey, RoutingError<String>)>: Freeze,
*const RoutingSessionError is !null: Freeze,
PhantomData<RoutingSessionError>: Freeze,
PhantomData<u16>: Freeze,
PhantomData<MuxBankSnapshot>: Freeze,
PhantomData<u32>: Freeze,
PhantomData<(u8, MuxFailure<String>)>: Freeze,
PhantomData<(FcpTarget, FcpFailure<String>)>: Freeze,
PhantomData<(Gen1Key, Gen1Failure<String>)>: Freeze,
impl Move for RoutingSessionError
impl RefUnwindSafe for RoutingSessionError
impl Send for RoutingSessionError
impl Sync for RoutingSessionError
impl Unpin for RoutingSessionError
impl UnsafeUnpin for RoutingSessionErrorwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<AltSetting>: UnsafeUnpin,
PhantomData<(ControlKey, RoutingError<String>)>: UnsafeUnpin,
*const RoutingSessionError is !null: UnsafeUnpin,
PhantomData<RoutingSessionError>: UnsafeUnpin,
PhantomData<u16>: UnsafeUnpin,
PhantomData<MuxBankSnapshot>: UnsafeUnpin,
PhantomData<u32>: UnsafeUnpin,
PhantomData<(u8, MuxFailure<String>)>: UnsafeUnpin,
PhantomData<(FcpTarget, FcpFailure<String>)>: UnsafeUnpin,
PhantomData<(Gen1Key, Gen1Failure<String>)>: UnsafeUnpin,
impl UnwindSafe for RoutingSessionError
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