pub struct CiftlError { /* private fields */ }Expand description
错误结构
Implementations§
Source§impl CiftlError
impl CiftlError
pub const fn new( error_code: ErrorCode, error_message: &'static str, ) -> CiftlError
pub fn add_opt_mess(&self, optional_message: &str) -> CiftlError
Trait Implementations§
Source§impl Clone for CiftlError
impl Clone for CiftlError
Source§impl Debug for CiftlError
impl Debug for CiftlError
Auto Trait Implementations§
impl Freeze for CiftlError
impl RefUnwindSafe for CiftlError
impl Send for CiftlError
impl Sync for CiftlError
impl Unpin for CiftlError
impl UnwindSafe for CiftlError
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