pub enum OrphanRelinkError {
Io(Error),
Database(DatabaseError),
Transaction(TransactionError),
Library(LibraryError),
}Variants§
Trait Implementations§
Source§impl Debug for OrphanRelinkError
impl Debug for OrphanRelinkError
Source§impl Display for OrphanRelinkError
impl Display for OrphanRelinkError
Source§impl Error for OrphanRelinkError
impl Error for OrphanRelinkError
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<DatabaseError> for OrphanRelinkError
impl From<DatabaseError> for OrphanRelinkError
Source§fn from(source: DatabaseError) -> Self
fn from(source: DatabaseError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for OrphanRelinkError
impl From<Error> for OrphanRelinkError
Source§impl From<LibraryError> for OrphanRelinkError
impl From<LibraryError> for OrphanRelinkError
Source§fn from(source: LibraryError) -> Self
fn from(source: LibraryError) -> Self
Converts to this type from the input type.
Source§impl From<TransactionError> for OrphanRelinkError
impl From<TransactionError> for OrphanRelinkError
Source§fn from(source: TransactionError) -> Self
fn from(source: TransactionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OrphanRelinkError
impl !RefUnwindSafe for OrphanRelinkError
impl Send for OrphanRelinkError
impl Sync for OrphanRelinkError
impl Unpin for OrphanRelinkError
impl UnsafeUnpin for OrphanRelinkError
impl !UnwindSafe for OrphanRelinkError
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
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more