Enum scheduling_api::error::SchedulerError
source · pub enum SchedulerError {
Caldav(CaldavError),
Reqwest(Error),
TimeNotAvailable(DateTime<Utc>),
}
Variants§
Trait Implementations§
source§impl Debug for SchedulerError
impl Debug for SchedulerError
source§impl Display for SchedulerError
impl Display for SchedulerError
source§impl Error for SchedulerError
impl Error for SchedulerError
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<CaldavError> for SchedulerError
impl From<CaldavError> for SchedulerError
source§fn from(source: CaldavError) -> Self
fn from(source: CaldavError) -> Self
Converts to this type from the input type.
source§impl From<Error> for SchedulerError
impl From<Error> for SchedulerError
source§impl IntoResponse for SchedulerError
impl IntoResponse for SchedulerError
source§fn into_response(self) -> Response
fn into_response(self) -> Response
Create a response.