Enum svc_storage::common::ArrErr
source · pub enum ArrErr {
Error(String),
JoinError(JoinError),
ConfigError(ConfigError),
IntError(TryFromIntError),
ProstTimestampError(TimestampError),
CreatePoolError(CreatePoolError),
IoError(Error),
UuidError(Error),
AnyhowError(Error),
}
Expand description
Crate Errors
Variants§
Error(String)
return new Error with provided string
JoinError(JoinError)
return new [JoinError
] with calling params
ConfigError(ConfigError)
return new [ConfigError
] with calling params
IntError(TryFromIntError)
return new std::num::TryFromIntError
with calling params
ProstTimestampError(TimestampError)
return new prost_types::TimestampError
with calling params
CreatePoolError(CreatePoolError)
return new [deadpool_postgres::CreatePoolError
] with calling params
IoError(Error)
return new std::io::Error
with calling params
UuidError(Error)
return new uuid::Error
with calling params
AnyhowError(Error)
return new anyhow::Error
with calling params
Trait Implementations§
source§impl Error for ArrErr
impl Error for ArrErr
source§fn 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 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<TimestampError> for ArrErr
impl From<TimestampError> for ArrErr
source§fn from(source: TimestampError) -> Self
fn from(source: TimestampError) -> Self
Converts to this type from the input type.
source§impl From<TryFromIntError> for ArrErr
impl From<TryFromIntError> for ArrErr
source§fn from(source: TryFromIntError) -> Self
fn from(source: TryFromIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ArrErr
impl Send for ArrErr
impl Sync for ArrErr
impl Unpin for ArrErr
impl !UnwindSafe for ArrErr
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request