Enum slack_web_api::SlackError
source · pub enum SlackError {
ApiError(SlackApiError),
HttpError(SlackHttpError),
SystemError(SlackSystemError),
}Variants§
Trait Implementations§
source§impl Debug for SlackError
impl Debug for SlackError
source§impl From<SlackApiError> for SlackError
impl From<SlackApiError> for SlackError
source§fn from(value: SlackApiError) -> Self
fn from(value: SlackApiError) -> Self
Converts to this type from the input type.
source§impl From<SlackHttpError> for SlackError
impl From<SlackHttpError> for SlackError
source§fn from(value: SlackHttpError) -> Self
fn from(value: SlackHttpError) -> Self
Converts to this type from the input type.
source§impl From<SlackSystemError> for SlackError
impl From<SlackSystemError> for SlackError
source§fn from(value: SlackSystemError) -> Self
fn from(value: SlackSystemError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for SlackError
impl Send for SlackError
impl Sync for SlackError
impl Unpin for SlackError
impl UnwindSafe for SlackError
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