pub struct ReportError { /* private fields */ }Implementations§
Source§impl ReportError
§Construct
impl ReportError
§Construct
Sourcepub fn with_code(error_code: ReportErrorCode) -> Self
pub fn with_code(error_code: ReportErrorCode) -> Self
Creates an entry to include in an ErrorReply.
Trait Implementations§
Source§impl Clone for ReportError
impl Clone for ReportError
Source§fn clone(&self) -> ReportError
fn clone(&self) -> ReportError
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 ReportError
impl Debug for ReportError
Source§impl PartialEq for ReportError
impl PartialEq for ReportError
impl Eq for ReportError
impl StructuralPartialEq for ReportError
Auto Trait Implementations§
impl !Freeze for ReportError
impl RefUnwindSafe for ReportError
impl Send for ReportError
impl Sync for ReportError
impl Unpin for ReportError
impl UnwindSafe for ReportError
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