Enum printnanny_services::error::ServiceError
source · [−]pub enum ServiceError {
Show 20 variants
JsonSerError(Error),
TomlSerError(Error),
PisRetrieveError(ApiError<PisRetrieveError>),
PisPartialUpdateError(ApiError<PisPartialUpdateError>),
SystemInfoCreateError(ApiError<PisSystemInfoCreateError>),
SystemInfoUpdateOrCreateError(ApiError<SystemInfoUpdateOrCreateError>),
OctoprintPartialUpdateError(ApiError<OctoprintPartialUpdateError>),
FromUtf8Error(FromUtf8Error),
UserRetrieveError(ApiError<AccountsUserRetrieveError>),
Accounts2faAuthTokenCreateError(ApiError<Accounts2faAuthTokenCreateError>),
Accounts2faAuthEmailCreateError(ApiError<Accounts2faAuthEmailCreateError>),
Utf8Error(Utf8Error),
InvalidLicense {
expected: String,
active: String,
},
FingerprintError {
path: PathBuf,
stderr: String,
},
ProcError(ProcError),
SysInfoError(Error),
IoError(Error),
FigmentError(Error),
PrintNannyConfigError(PrintNannyConfigError),
SetupIncomplete {
detail: Option<String>,
field: String,
},
}Variants
JsonSerError(Error)
TomlSerError(Error)
PisRetrieveError(ApiError<PisRetrieveError>)
PisPartialUpdateError(ApiError<PisPartialUpdateError>)
SystemInfoCreateError(ApiError<PisSystemInfoCreateError>)
SystemInfoUpdateOrCreateError(ApiError<SystemInfoUpdateOrCreateError>)
OctoprintPartialUpdateError(ApiError<OctoprintPartialUpdateError>)
FromUtf8Error(FromUtf8Error)
UserRetrieveError(ApiError<AccountsUserRetrieveError>)
Accounts2faAuthTokenCreateError(ApiError<Accounts2faAuthTokenCreateError>)
Accounts2faAuthEmailCreateError(ApiError<Accounts2faAuthEmailCreateError>)
Utf8Error(Utf8Error)
InvalidLicense
FingerprintError
ProcError(ProcError)
SysInfoError(Error)
IoError(Error)
FigmentError(Error)
PrintNannyConfigError(PrintNannyConfigError)
SetupIncomplete
Trait Implementations
sourceimpl Debug for ServiceError
impl Debug for ServiceError
sourceimpl Display for ServiceError
impl Display for ServiceError
sourceimpl Error for ServiceError
impl Error for ServiceError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<Error<Accounts2faAuthEmailCreateError>> for ServiceError
impl From<Error<Accounts2faAuthEmailCreateError>> for ServiceError
sourcefn from(source: ApiError<Accounts2faAuthEmailCreateError>) -> Self
fn from(source: ApiError<Accounts2faAuthEmailCreateError>) -> Self
Converts to this type from the input type.
sourceimpl From<Error<Accounts2faAuthTokenCreateError>> for ServiceError
impl From<Error<Accounts2faAuthTokenCreateError>> for ServiceError
sourcefn from(source: ApiError<Accounts2faAuthTokenCreateError>) -> Self
fn from(source: ApiError<Accounts2faAuthTokenCreateError>) -> Self
Converts to this type from the input type.
sourceimpl From<Error<AccountsUserRetrieveError>> for ServiceError
impl From<Error<AccountsUserRetrieveError>> for ServiceError
sourcefn from(source: ApiError<AccountsUserRetrieveError>) -> Self
fn from(source: ApiError<AccountsUserRetrieveError>) -> Self
Converts to this type from the input type.
sourceimpl From<Error<OctoprintPartialUpdateError>> for ServiceError
impl From<Error<OctoprintPartialUpdateError>> for ServiceError
sourcefn from(source: ApiError<OctoprintPartialUpdateError>) -> Self
fn from(source: ApiError<OctoprintPartialUpdateError>) -> Self
Converts to this type from the input type.
sourceimpl From<Error<PisPartialUpdateError>> for ServiceError
impl From<Error<PisPartialUpdateError>> for ServiceError
sourcefn from(source: ApiError<PisPartialUpdateError>) -> Self
fn from(source: ApiError<PisPartialUpdateError>) -> Self
Converts to this type from the input type.
sourceimpl From<Error<PisRetrieveError>> for ServiceError
impl From<Error<PisRetrieveError>> for ServiceError
sourcefn from(source: ApiError<PisRetrieveError>) -> Self
fn from(source: ApiError<PisRetrieveError>) -> Self
Converts to this type from the input type.
sourceimpl From<Error<PisSystemInfoCreateError>> for ServiceError
impl From<Error<PisSystemInfoCreateError>> for ServiceError
sourcefn from(source: ApiError<PisSystemInfoCreateError>) -> Self
fn from(source: ApiError<PisSystemInfoCreateError>) -> Self
Converts to this type from the input type.
sourceimpl From<Error<SystemInfoUpdateOrCreateError>> for ServiceError
impl From<Error<SystemInfoUpdateOrCreateError>> for ServiceError
sourcefn from(source: ApiError<SystemInfoUpdateOrCreateError>) -> Self
fn from(source: ApiError<SystemInfoUpdateOrCreateError>) -> Self
Converts to this type from the input type.
sourceimpl From<Error> for ServiceError
impl From<Error> for ServiceError
sourceimpl From<Error> for ServiceError
impl From<Error> for ServiceError
sourceimpl From<Error> for ServiceError
impl From<Error> for ServiceError
sourceimpl From<Error> for ServiceError
impl From<Error> for ServiceError
sourceimpl From<Error> for ServiceError
impl From<Error> for ServiceError
sourceimpl From<FromUtf8Error> for ServiceError
impl From<FromUtf8Error> for ServiceError
sourcefn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Converts to this type from the input type.
sourceimpl From<PrintNannyConfigError> for ServiceError
impl From<PrintNannyConfigError> for ServiceError
sourcefn from(source: PrintNannyConfigError) -> Self
fn from(source: PrintNannyConfigError) -> Self
Converts to this type from the input type.
sourceimpl From<ProcError> for ServiceError
impl From<ProcError> for ServiceError
Auto Trait Implementations
impl !RefUnwindSafe for ServiceError
impl Send for ServiceError
impl Sync for ServiceError
impl Unpin for ServiceError
impl !UnwindSafe for ServiceError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more