[−][src]Struct melib::error::MeliError
Fields
summary: Option<Cow<'static, str>>
details: Cow<'static, str>
source: Option<Arc<dyn Error + Send + Sync + 'static>>
kind: ErrorKind
Implementations
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>>,
pub fn set_source(
self,
new_val: Option<Arc<dyn Error + Send + Sync + 'static>>
) -> MeliError
[src]
self,
new_val: Option<Arc<dyn Error + Send + Sync + 'static>>
) -> MeliError
pub fn set_kind(self, new_val: ErrorKind) -> MeliError
[src]
Trait Implementations
impl Clone for MeliError
[src]
impl Debug for MeliError
[src]
impl Display for MeliError
[src]
impl Error for MeliError
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn description(&self) -> &str
1.0.0[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl<'_> From<&'_ str> for MeliError
[src]
impl<'a> From<&'a MeliError> for MeliError
[src]
impl<'a> From<&'a mut MeliError> for MeliError
[src]
impl From<Box<ErrorKind>> for MeliError
[src]
impl From<Box<dyn Error + 'static + Sync + Send>> for MeliError
[src]
impl<'a> From<Cow<'a, str>> for MeliError
[src]
impl<'_> From<Err<(&'_ [u8], ErrorKind)>> for MeliError
[src]
impl<'_> From<Err<(&'_ str, ErrorKind)>> for MeliError
[src]
impl<'i> From<Err<ParsingError<&'i [u8]>>> for MeliError
[src]
impl<'i> From<Err<ParsingError<&'i str>>> for MeliError
[src]
fn from(val: Err<ParsingError<&'i str>>) -> MeliError
[src]
impl From<Error> for MeliError
[src]
impl From<Error> for MeliError
[src]
impl From<Error> for MeliError
[src]
impl From<Error> for MeliError
[src]
impl From<Error> 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<T: Sync + Send + 'static + Debug> From<HandshakeError<T>> for MeliError
[src]
fn from(kind: HandshakeError<T>) -> MeliError
[src]
impl From<MeliError> for BackendEvent
[src]
fn from(val: MeliError) -> BackendEvent
[src]
impl From<NulError> for MeliError
[src]
impl From<ParseIntError> for MeliError
[src]
fn from(kind: ParseIntError) -> MeliError
[src]
impl<'i> From<ParsingError<&'i [u8]>> for MeliError
[src]
impl<'i> From<ParsingError<&'i str>> for MeliError
[src]
fn from(val: ParsingError<&'i str>) -> 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]
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> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<I> IntoMeliError for I where
I: Into<MeliError>,
[src]
I: Into<MeliError>,
fn set_err_summary<M>(Self, M) -> MeliError where
M: Into<Cow<'static, str>>,
[src]
M: Into<Cow<'static, str>>,
fn set_err_kind(Self, ErrorKind) -> MeliError
[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,