pub struct SlackClientHttpProtocolError {
pub cause: Option<Box<dyn Error + Sync + Send>>,
}
Fields§
§cause: Option<Box<dyn Error + Sync + Send>>
Implementations§
Source§impl SlackClientHttpProtocolError
impl SlackClientHttpProtocolError
pub fn new() -> Self
pub fn cause(&mut self, value: Box<dyn Error + Sync + Send>) -> &mut Self
pub fn reset_cause(&mut self) -> &mut Self
pub fn mopt_cause( &mut self, value: Option<Box<dyn Error + Sync + Send>>, ) -> &mut Self
pub fn with_cause(self, value: Box<dyn Error + Sync + Send>) -> Self
pub fn without_cause(self) -> Self
pub fn opt_cause(self, value: Option<Box<dyn Error + Sync + Send>>) -> Self
Trait Implementations§
Source§impl Debug for SlackClientHttpProtocolError
impl Debug for SlackClientHttpProtocolError
Source§impl Error for SlackClientHttpProtocolError
impl Error for SlackClientHttpProtocolError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<SlackClientHttpProtocolErrorInit> for SlackClientHttpProtocolError
impl From<SlackClientHttpProtocolErrorInit> for SlackClientHttpProtocolError
Source§fn from(value: SlackClientHttpProtocolErrorInit) -> Self
fn from(value: SlackClientHttpProtocolErrorInit) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SlackClientHttpProtocolError
impl !RefUnwindSafe for SlackClientHttpProtocolError
impl Send for SlackClientHttpProtocolError
impl Sync for SlackClientHttpProtocolError
impl Unpin for SlackClientHttpProtocolError
impl !UnwindSafe for SlackClientHttpProtocolError
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