pub struct NullPointerException { /* private fields */ }
Expand description
§NullPointerException
- code: exception code
- msg: exception msg
- line: error line
- path: error file path
- level: exception level
- target: null pointer target
Trait Implementations§
Source§impl Clone for NullPointerException
impl Clone for NullPointerException
Source§fn clone(&self) -> NullPointerException
fn clone(&self) -> NullPointerException
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 NullPointerException
impl Debug for NullPointerException
Source§impl Default for NullPointerException
impl Default for NullPointerException
Source§impl DerefException for NullPointerException
impl DerefException for NullPointerException
fn deref_mut_exception(&mut self) -> Self
Source§impl Display for NullPointerException
impl Display for NullPointerException
Source§impl Error for NullPointerException
impl Error for NullPointerException
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 NullPointerException
impl Exception for NullPointerException
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 NullPointerException
impl FromBuilder for NullPointerException
Source§type Input = NullPointerExceptionBuilder
type Input = NullPointerExceptionBuilder
builder type
Source§type Output = NullPointerException
type Output = NullPointerException
exception type
fn from_builder(builder: &Self::Input) -> Self::Output
Source§impl NewFrom for NullPointerException
impl NewFrom for NullPointerException
Source§impl PartialEq for NullPointerException
impl PartialEq for NullPointerException
Source§impl SuperBuilderImpl<NullPointerException> for NullPointerExceptionBuilder
impl SuperBuilderImpl<NullPointerException> for NullPointerExceptionBuilder
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) -> NullPointerException
impl StructuralPartialEq for NullPointerException
Auto Trait Implementations§
impl Freeze for NullPointerException
impl RefUnwindSafe for NullPointerException
impl Send for NullPointerException
impl Sync for NullPointerException
impl Unpin for NullPointerException
impl UnwindSafe for NullPointerException
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