Struct ws::Error [−][src]
A struct indicating the kind of error that has occurred and any precise details of that error.
Fields
kind: Kind
details: Cow<'static, str>
Methods
impl Error[src]
impl Errorpub fn new<I>(kind: Kind, details: I) -> Error where
I: Into<Cow<'static, str>>, [src]
pub fn new<I>(kind: Kind, details: I) -> Error where
I: Into<Cow<'static, str>>, ⓘImportant traits for Box<R>pub fn into_box(self) -> Box<StdError>[src]
ⓘImportant traits for Box<R>
pub fn into_box(self) -> Box<StdError>Trait Implementations
impl Debug for Error[src]
impl Debug for Errorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Display for Error[src]
impl Display for Errorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl StdError for Error[src]
impl StdError for Errorfn description(&self) -> &str[src]
fn description(&self) -> &strThis method is soft-deprecated. Read more
fn cause(&self) -> Option<&StdError>[src]
fn cause(&self) -> Option<&StdError>The lower-level cause of this error, if any. Read more
impl From<Error> for Error[src]
impl From<Error> for Errorimpl From<Error> for Error[src]
impl From<Error> for Errorimpl From<SendError<Command>> for Error[src]
impl From<SendError<Command>> for Errorimpl From<Utf8Error> for Error[src]
impl From<Utf8Error> for Errorimpl<B> From<Box<B>> for Error where
B: StdError + Send + Sync + 'static, [src]
impl<B> From<Box<B>> for Error where
B: StdError + Send + Sync + 'static,