Enum printnanny_services::error::ServiceError
source · [−]pub enum ServiceError {
Show 26 variants
JsonSerError(Error),
TomlSerError(Error),
AlertSettingsGetOrCreateRetrieveError(ApiError<AlertSettingsGetOrCreateRetrieveError>),
ApiConfigRetreiveError(ApiError<ApiConfigRetreiveError>),
AuthTokenCreateError(ApiError<AuthTokenCreateError>),
AuthEmailCreateError(ApiError<AuthEmailCreateError>),
CloudiotDeviceUpdateOrCreateError(ApiError<CloudiotDeviceUpdateOrCreateError>),
DevicesCreateError(ApiError<DevicesCreateError>),
DevicesRetrieveError(ApiError<DevicesRetrieveError>),
DevicesPartialUpdateError(ApiError<DevicesPartialUpdateError>),
DevicesRetrieveHostnameError(ApiError<DevicesRetrieveHostnameError>),
SystemInfoCreateError(ApiError<DevicesSystemInfoCreateError>),
SystemInfoUpdateOrCreateError(ApiError<SystemInfoUpdateOrCreateError>),
OctoprintServerUpdateOrCreateError(ApiError<OctoprintServerUpdateOrCreateError>),
PublicKeyUpdateOrCreate(ApiError<PublicKeyUpdateOrCreateError>),
FromUtf8Error(FromUtf8Error),
UsersRetrieveError(ApiError<UsersMeRetrieveError>),
Utf8Error(Utf8Error),
InvalidLicense {
expected: String,
active: String,
},
FingerprintError {
path: PathBuf,
stderr: String,
},
ProcError(ProcError),
FigmentError(Error),
SysInfoError(Error),
IoError(Error),
PrintNannyConfigError(PrintNannyConfigError),
SetupIncomplete {
detail: Option<String>,
field: String,
},
}Variants
JsonSerError(Error)
TomlSerError(Error)
AlertSettingsGetOrCreateRetrieveError(ApiError<AlertSettingsGetOrCreateRetrieveError>)
ApiConfigRetreiveError(ApiError<ApiConfigRetreiveError>)
AuthTokenCreateError(ApiError<AuthTokenCreateError>)
AuthEmailCreateError(ApiError<AuthEmailCreateError>)
CloudiotDeviceUpdateOrCreateError(ApiError<CloudiotDeviceUpdateOrCreateError>)
DevicesCreateError(ApiError<DevicesCreateError>)
DevicesRetrieveError(ApiError<DevicesRetrieveError>)
DevicesPartialUpdateError(ApiError<DevicesPartialUpdateError>)
DevicesRetrieveHostnameError(ApiError<DevicesRetrieveHostnameError>)
SystemInfoCreateError(ApiError<DevicesSystemInfoCreateError>)
SystemInfoUpdateOrCreateError(ApiError<SystemInfoUpdateOrCreateError>)
OctoprintServerUpdateOrCreateError(ApiError<OctoprintServerUpdateOrCreateError>)
PublicKeyUpdateOrCreate(ApiError<PublicKeyUpdateOrCreateError>)
FromUtf8Error(FromUtf8Error)
UsersRetrieveError(ApiError<UsersMeRetrieveError>)
Utf8Error(Utf8Error)
InvalidLicense
FingerprintError
ProcError(ProcError)
FigmentError(Error)
SysInfoError(Error)
IoError(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
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl From<Error<AlertSettingsGetOrCreateRetrieveError>> for ServiceError
impl From<Error<AlertSettingsGetOrCreateRetrieveError>> for ServiceError
sourcefn from(source: ApiError<AlertSettingsGetOrCreateRetrieveError>) -> Self
fn from(source: ApiError<AlertSettingsGetOrCreateRetrieveError>) -> Self
Converts to this type from the input type.
sourceimpl From<Error<ApiConfigRetreiveError>> for ServiceError
impl From<Error<ApiConfigRetreiveError>> for ServiceError
sourcefn from(source: ApiError<ApiConfigRetreiveError>) -> Self
fn from(source: ApiError<ApiConfigRetreiveError>) -> Self
Converts to this type from the input type.
sourceimpl From<Error<AuthEmailCreateError>> for ServiceError
impl From<Error<AuthEmailCreateError>> for ServiceError
sourcefn from(source: ApiError<AuthEmailCreateError>) -> Self
fn from(source: ApiError<AuthEmailCreateError>) -> Self
Converts to this type from the input type.
sourceimpl From<Error<AuthTokenCreateError>> for ServiceError
impl From<Error<AuthTokenCreateError>> for ServiceError
sourcefn from(source: ApiError<AuthTokenCreateError>) -> Self
fn from(source: ApiError<AuthTokenCreateError>) -> Self
Converts to this type from the input type.
sourceimpl From<Error<CloudiotDeviceUpdateOrCreateError>> for ServiceError
impl From<Error<CloudiotDeviceUpdateOrCreateError>> for ServiceError
sourcefn from(source: ApiError<CloudiotDeviceUpdateOrCreateError>) -> Self
fn from(source: ApiError<CloudiotDeviceUpdateOrCreateError>) -> Self
Converts to this type from the input type.
sourceimpl From<Error<DevicesCreateError>> for ServiceError
impl From<Error<DevicesCreateError>> for ServiceError
sourcefn from(source: ApiError<DevicesCreateError>) -> Self
fn from(source: ApiError<DevicesCreateError>) -> Self
Converts to this type from the input type.
sourceimpl From<Error<DevicesPartialUpdateError>> for ServiceError
impl From<Error<DevicesPartialUpdateError>> for ServiceError
sourcefn from(source: ApiError<DevicesPartialUpdateError>) -> Self
fn from(source: ApiError<DevicesPartialUpdateError>) -> Self
Converts to this type from the input type.
sourceimpl From<Error<DevicesRetrieveError>> for ServiceError
impl From<Error<DevicesRetrieveError>> for ServiceError
sourcefn from(source: ApiError<DevicesRetrieveError>) -> Self
fn from(source: ApiError<DevicesRetrieveError>) -> Self
Converts to this type from the input type.
sourceimpl From<Error<DevicesRetrieveHostnameError>> for ServiceError
impl From<Error<DevicesRetrieveHostnameError>> for ServiceError
sourcefn from(source: ApiError<DevicesRetrieveHostnameError>) -> Self
fn from(source: ApiError<DevicesRetrieveHostnameError>) -> Self
Converts to this type from the input type.
sourceimpl From<Error<DevicesSystemInfoCreateError>> for ServiceError
impl From<Error<DevicesSystemInfoCreateError>> for ServiceError
sourcefn from(source: ApiError<DevicesSystemInfoCreateError>) -> Self
fn from(source: ApiError<DevicesSystemInfoCreateError>) -> Self
Converts to this type from the input type.
sourceimpl From<Error<OctoprintServerUpdateOrCreateError>> for ServiceError
impl From<Error<OctoprintServerUpdateOrCreateError>> for ServiceError
sourcefn from(source: ApiError<OctoprintServerUpdateOrCreateError>) -> Self
fn from(source: ApiError<OctoprintServerUpdateOrCreateError>) -> Self
Converts to this type from the input type.
sourceimpl From<Error<PublicKeyUpdateOrCreateError>> for ServiceError
impl From<Error<PublicKeyUpdateOrCreateError>> for ServiceError
sourcefn from(source: ApiError<PublicKeyUpdateOrCreateError>) -> Self
fn from(source: ApiError<PublicKeyUpdateOrCreateError>) -> 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<UsersMeRetrieveError>> for ServiceError
impl From<Error<UsersMeRetrieveError>> for ServiceError
sourcefn from(source: ApiError<UsersMeRetrieveError>) -> Self
fn from(source: ApiError<UsersMeRetrieveError>) -> 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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more