Struct portus::lang::Error [−][src]
pub struct Error(pub String);
Trait Implementations
impl Debug for Error
[src]
impl Debug for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for Error
[src]
impl Error for Error
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
1.0.0
[src]The lower-level cause of this error, if any. Read more
impl Display for Error
[src]
impl Display for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<String> for Error
[src]
impl From<String> for Error
impl<'a> From<&'a str> for Error
[src]
impl<'a> From<&'a str> for Error
impl From<Err> for Error
[src]
impl From<Err> for Error
impl From<FromUtf8Error> for Error
[src]
impl From<FromUtf8Error> for Error
fn from(e: FromUtf8Error) -> Error
[src]
fn from(e: FromUtf8Error) -> Error
Performs the conversion.
impl From<Utf8Error> for Error
[src]
impl From<Utf8Error> for Error