pub struct EasyException { /* private fields */ }
Expand description
§Easy Exception
- code: exception code
- msg: exception msg
- line: error line
- path: error file path
- level: exception level
Trait Implementations§
Source§impl Clone for EasyException
impl Clone for EasyException
Source§fn clone(&self) -> EasyException
fn clone(&self) -> EasyException
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 CommonParamImpl for EasyException
impl CommonParamImpl for EasyException
Source§impl Debug for EasyException
impl Debug for EasyException
Source§impl Default for EasyException
impl Default for EasyException
Source§impl DerefException for EasyException
impl DerefException for EasyException
fn deref_mut_exception(&mut self) -> Self
Source§impl Display for EasyException
impl Display for EasyException
Source§impl Error for EasyException
impl Error for EasyException
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
Source§impl Exception for EasyException
impl Exception for EasyException
fn code(&self) -> u32
fn msg(&self) -> &str
fn level(&self) -> ExceptionLevel
fn set_code(&mut self, code: u32)
fn set_level(&mut self, level: ExceptionLevel)
fn set_msg(&mut self, msg: &str)
fn get_type(&self) -> Exceptions
fn timestamp(&self) -> Duration
Source§impl FromBuilder for EasyException
impl FromBuilder for EasyException
Source§type Input = EasyExceptionBuilder
type Input = EasyExceptionBuilder
builder type
Source§type Output = EasyException
type Output = EasyException
exception type
fn from_builder(builder: &Self::Input) -> Self::Output
Source§impl NewFrom for EasyException
impl NewFrom for EasyException
Source§impl PartialEq for EasyException
impl PartialEq for EasyException
Source§impl SuperBuilderImpl<EasyException> for EasyExceptionBuilder
impl SuperBuilderImpl<EasyException> for EasyExceptionBuilder
fn new() -> Self
fn code(&self) -> u32
fn msg(&self) -> &str
fn level(&self) -> ExceptionLevel
fn set_code(&mut self, code: u32) -> &mut Self
fn set_msg(&mut self, msg: &str) -> &mut Self
fn set_level(&mut self, level: ExceptionLevel) -> &mut Self
fn exception_type(&self) -> Exceptions
fn timestamp(&self) -> Duration
fn build(&mut self) -> EasyException
impl StructuralPartialEq for EasyException
Auto Trait Implementations§
impl Freeze for EasyException
impl RefUnwindSafe for EasyException
impl Send for EasyException
impl Sync for EasyException
impl Unpin for EasyException
impl UnwindSafe for EasyException
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