Enum libstrophe::ToTextError
source · pub enum ToTextError {
StropheError(Error),
Utf8Error(Utf8Error),
}
Variants§
Trait Implementations§
source§impl Clone for ToTextError
impl Clone for ToTextError
source§fn clone(&self) -> ToTextError
fn clone(&self) -> ToTextError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ToTextError
impl Debug for ToTextError
source§impl Display for ToTextError
impl Display for ToTextError
source§impl Error for ToTextError
impl Error for ToTextError
source§fn source(&self) -> Option<&(dyn StdError + 'static)>
fn source(&self) -> Option<&(dyn StdError + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Error> for ToTextError
impl From<Error> for ToTextError
source§impl From<Utf8Error> for ToTextError
impl From<Utf8Error> for ToTextError
source§impl PartialEq<ToTextError> for ToTextError
impl PartialEq<ToTextError> for ToTextError
source§fn eq(&self, other: &ToTextError) -> bool
fn eq(&self, other: &ToTextError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ToTextError
impl Eq for ToTextError
impl StructuralEq for ToTextError
impl StructuralPartialEq for ToTextError
Auto Trait Implementations§
impl RefUnwindSafe for ToTextError
impl Send for ToTextError
impl Sync for ToTextError
impl Unpin for ToTextError
impl UnwindSafe for ToTextError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more