pub enum RestoreError {
Show 17 variants
Offer(OfferError),
AlreadyRestored(OfferKey),
MissingGpadlChannel(GpadlId, ChannelId),
GpadlForRevokedChannel(GpadlId, ChannelId),
GpadlIdInUse(GpadlId, ChannelId),
UnsupportedVersion(u32),
InvalidGpadl(Error),
UnsupportedFeatureFlags(u32),
MismatchedOpenState(OfferKey),
MissingChannel(OfferKey),
UnsupportedReserveVersion(u32),
UnsupportedReserveFeatureFlags(u32),
MismatchedMonitorId(u8, Option<u8>),
DuplicateMonitorId(u8),
ServerError(Error),
MissingReservedChannel(u32),
MessageTooLarge,
}
Variants§
Offer(OfferError)
AlreadyRestored(OfferKey)
MissingGpadlChannel(GpadlId, ChannelId)
GpadlForRevokedChannel(GpadlId, ChannelId)
GpadlIdInUse(GpadlId, ChannelId)
UnsupportedVersion(u32)
InvalidGpadl(Error)
UnsupportedFeatureFlags(u32)
MismatchedOpenState(OfferKey)
MissingChannel(OfferKey)
UnsupportedReserveVersion(u32)
UnsupportedReserveFeatureFlags(u32)
MismatchedMonitorId(u8, Option<u8>)
DuplicateMonitorId(u8)
ServerError(Error)
MissingReservedChannel(u32)
MessageTooLarge
Trait Implementations§
Source§impl Debug for RestoreError
impl Debug for RestoreError
Source§impl Display for RestoreError
impl Display for RestoreError
Source§impl Error for RestoreError
impl Error for RestoreError
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<Error> for RestoreError
impl From<Error> for RestoreError
Source§impl From<Error> for RestoreError
impl From<Error> for RestoreError
Source§impl From<OfferError> for RestoreError
impl From<OfferError> for RestoreError
Source§fn from(source: OfferError) -> Self
fn from(source: OfferError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RestoreError
impl RefUnwindSafe for RestoreError
impl Send for RestoreError
impl Sync for RestoreError
impl Unpin for RestoreError
impl UnwindSafe for RestoreError
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