pub struct LbError {
pub kind: CoreError,
pub backtrace: Option<Backtrace>,
}Fields§
§kind: CoreError§backtrace: Option<Backtrace>Trait Implementations§
source§impl Display for LbError
impl Display for LbError
Using this within core has limited meaning as the unexpected / expected error calculation that happens in lib.rs won’t have taken place. So in some sense printing this out anywhere within core is going to be unexpected
source§impl From<ApiError<ChangeDocError>> for LbError
impl From<ApiError<ChangeDocError>> for LbError
source§fn from(e: ApiError<ChangeDocError>) -> Self
fn from(e: ApiError<ChangeDocError>) -> Self
Converts to this type from the input type.
source§impl From<ApiError<GetDocumentError>> for LbError
impl From<ApiError<GetDocumentError>> for LbError
source§fn from(e: ApiError<GetDocumentError>) -> Self
fn from(e: ApiError<GetDocumentError>) -> Self
Converts to this type from the input type.
source§impl From<ApiError<GetFileIdsError>> for LbError
impl From<ApiError<GetFileIdsError>> for LbError
source§fn from(e: ApiError<GetFileIdsError>) -> Self
fn from(e: ApiError<GetFileIdsError>) -> Self
Converts to this type from the input type.
source§impl From<ApiError<GetPublicKeyError>> for LbError
impl From<ApiError<GetPublicKeyError>> for LbError
source§fn from(err: ApiError<GetPublicKeyError>) -> Self
fn from(err: ApiError<GetPublicKeyError>) -> Self
Converts to this type from the input type.
source§impl From<ApiError<GetUpdatesError>> for LbError
impl From<ApiError<GetUpdatesError>> for LbError
source§fn from(e: ApiError<GetUpdatesError>) -> Self
fn from(e: ApiError<GetUpdatesError>) -> Self
Converts to this type from the input type.
source§impl From<ApiError<GetUsageError>> for LbError
impl From<ApiError<GetUsageError>> for LbError
source§fn from(e: ApiError<GetUsageError>) -> Self
fn from(e: ApiError<GetUsageError>) -> Self
Converts to this type from the input type.
source§impl From<ApiError<GetUsernameError>> for LbError
impl From<ApiError<GetUsernameError>> for LbError
source§fn from(err: ApiError<GetUsernameError>) -> Self
fn from(err: ApiError<GetUsernameError>) -> Self
Converts to this type from the input type.
source§impl From<ApiError<NewAccountError>> for LbError
impl From<ApiError<NewAccountError>> for LbError
source§fn from(err: ApiError<NewAccountError>) -> Self
fn from(err: ApiError<NewAccountError>) -> Self
Converts to this type from the input type.
source§impl From<ApiError<UpsertError>> for LbError
impl From<ApiError<UpsertError>> for LbError
source§fn from(e: ApiError<UpsertError>) -> Self
fn from(e: ApiError<UpsertError>) -> Self
Converts to this type from the input type.
source§impl From<LbError> for UnexpectedError
impl From<LbError> for UnexpectedError
source§impl<G> From<PoisonError<G>> for LbError
impl<G> From<PoisonError<G>> for LbError
source§fn from(err: PoisonError<G>) -> Self
fn from(err: PoisonError<G>) -> Self
Converts to this type from the input type.
source§fn from(err: SharedError) -> Self
fn from(err: SharedError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for LbError
impl RefUnwindSafe for LbError
impl Send for LbError
impl Sync for LbError
impl Unpin for LbError
impl UnwindSafe for LbError
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