pub struct FErr {
pub code: FECode,
pub msg: Cow<'static, str>,
}Expand description
Custom error object for frozen codebases
Fields§
§code: FECode32-bit error code
msg: Cow<'static, str>error message
Implementations§
Trait Implementations§
impl Eq for FErr
impl StructuralPartialEq for FErr
Auto Trait Implementations§
impl Freeze for FErr
impl RefUnwindSafe for FErr
impl Send for FErr
impl Sync for FErr
impl Unpin for FErr
impl UnwindSafe for FErr
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