pub struct ExceptionMessage(/* private fields */);Implementations§
Source§impl ExceptionMessage
impl ExceptionMessage
pub fn new(message: String) -> Self
pub fn raw_message(&self) -> &str
pub fn pretty_message(&self) -> Result<&str, ExceptionPrettyMessageError>
Trait Implementations§
Source§impl Clone for ExceptionMessage
impl Clone for ExceptionMessage
Source§fn clone(&self) -> ExceptionMessage
fn clone(&self) -> ExceptionMessage
Returns a duplicate 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 ExceptionMessage
impl Debug for ExceptionMessage
Source§impl PartialEq for ExceptionMessage
impl PartialEq for ExceptionMessage
impl Eq for ExceptionMessage
impl StructuralPartialEq for ExceptionMessage
Auto Trait Implementations§
impl Freeze for ExceptionMessage
impl RefUnwindSafe for ExceptionMessage
impl Send for ExceptionMessage
impl Sync for ExceptionMessage
impl Unpin for ExceptionMessage
impl UnwindSafe for ExceptionMessage
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