[][src]Struct melib::error::MeliError

pub struct MeliError {
    pub summary: Option<Cow<'static, str>>,
    pub details: Cow<'static, str>,
}

Fields

summary: Option<Cow<'static, str>>details: Cow<'static, str>

Methods

impl MeliError[src]

pub fn new<M>(msg: M) -> MeliError where
    M: Into<Cow<'static, str>>, 
[src]

pub fn set_summary<M>(self, summary: M) -> MeliError where
    M: Into<Cow<'static, str>>, 
[src]

Trait Implementations

impl Clone for MeliError[src]

impl Debug for MeliError[src]

impl<'de> Deserialize<'de> for MeliError[src]

impl Display for MeliError[src]

impl Error for MeliError[src]

impl<'_> From<&'_ str> for MeliError[src]

impl<'a> From<Cow<'a, str>> for MeliError[src]

impl From<Error> for MeliError[src]

impl From<Error> for MeliError[src]

impl From<FromUtf8Error> for MeliError[src]

impl From<HandshakeError<TcpStream>> for MeliError[src]

impl From<IError<u32>> for MeliError[src]

impl From<ParseIntError> for MeliError[src]

impl<T> From<PoisonError<T>> for MeliError[src]

impl From<String> for MeliError[src]

impl From<Utf8Error> for MeliError[src]

impl Into<String> for MeliError[src]

impl Serialize for MeliError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.