[−][src]Struct melib::error::MeliError
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]
M: Into<Cow<'static, str>>,
pub fn set_summary<M>(self, summary: M) -> MeliError where
M: Into<Cow<'static, str>>,
[src]
M: Into<Cow<'static, str>>,
Trait Implementations
impl Clone for MeliError
[src]
impl Debug for MeliError
[src]
impl<'de> Deserialize<'de> for MeliError
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Display for MeliError
[src]
impl Error for MeliError
[src]
fn description(&self) -> &str
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[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]
fn from(kind: FromUtf8Error) -> MeliError
[src]
impl From<HandshakeError<TcpStream>> for MeliError
[src]
fn from(kind: HandshakeError<TcpStream>) -> MeliError
[src]
impl From<IError<u32>> for MeliError
[src]
impl From<ParseIntError> for MeliError
[src]
fn from(kind: ParseIntError) -> MeliError
[src]
impl<T> From<PoisonError<T>> for MeliError
[src]
fn from(kind: PoisonError<T>) -> 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
impl RefUnwindSafe for MeliError
impl Send for MeliError
impl Sync for MeliError
impl Unpin for MeliError
impl UnwindSafe for MeliError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,