pub struct DiagCode { /* private fields */ }Expand description
This object represents a complete and valid diagnostic code. It is
constructed from its component parts with new(), or parsed from the string
form with parse(). It may be rendered as a string with encode(), or the
dictionary() and entry() methods may be used to extract individual
values.
Implementations§
Trait Implementations§
impl StructuralPartialEq for DiagCode
Auto Trait Implementations§
impl Freeze for DiagCode
impl RefUnwindSafe for DiagCode
impl Send for DiagCode
impl Sync for DiagCode
impl Unpin for DiagCode
impl UnwindSafe for DiagCode
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