#[non_exhaustive]pub enum GapPageFailure<'a> {
NoPendingGap(&'a ProtocolError),
ForeignSession(&'a ForeignSessionError),
Msp(&'a MspError),
Protocol(&'a ProtocolError),
Transport(&'a (dyn StdError + Send + Sync + 'static)),
}Expand description
The typed cause behind a failed gap-page operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NoPendingGap(&'a ProtocolError)
A page arrived without a gap waiting for it.
ForeignSession(&'a ForeignSessionError)
A page or event named a different session.
Msp(&'a MspError)
The server refused the page request with a typed MSP error.
Protocol(&'a ProtocolError)
The page response violated the MSP protocol.
Transport(&'a (dyn StdError + Send + Sync + 'static))
The page request failed outside local gap validation.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for GapPageFailure<'a>
impl<'a> !UnwindSafe for GapPageFailure<'a>
impl<'a> Freeze for GapPageFailure<'a>
impl<'a> Send for GapPageFailure<'a>
impl<'a> Sync for GapPageFailure<'a>
impl<'a> Unpin for GapPageFailure<'a>
impl<'a> UnsafeUnpin for GapPageFailure<'a>
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