pub struct ArrayIndexOutOfBoundsException { /* private fields */ }
Expand description
§ArrayIndexOutofBoundsException
- code: exception code
- msg: exception msg
- line: error line
- path: error file path
- level: exception level
- target: null pointer target
- len: array length
- index: which index cause out of bounds
Trait Implementations§
Source§impl Clone for ArrayIndexOutOfBoundsException
impl Clone for ArrayIndexOutOfBoundsException
Source§fn clone(&self) -> ArrayIndexOutOfBoundsException
fn clone(&self) -> ArrayIndexOutOfBoundsException
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 DerefException for ArrayIndexOutOfBoundsException
impl DerefException for ArrayIndexOutOfBoundsException
fn deref_mut_exception(&mut self) -> Self
Source§impl Error for ArrayIndexOutOfBoundsException
impl Error for ArrayIndexOutOfBoundsException
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 ArrayIndexOutOfBoundsException
impl Exception for ArrayIndexOutOfBoundsException
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 ArrayIndexOutOfBoundsException
impl FromBuilder for ArrayIndexOutOfBoundsException
Source§type Input = ArrayIndexOutOfBoundsBuilder
type Input = ArrayIndexOutOfBoundsBuilder
builder type
Source§type Output = ArrayIndexOutOfBoundsException
type Output = ArrayIndexOutOfBoundsException
exception type
fn from_builder(builder: &Self::Input) -> Self::Output
Source§impl PartialEq for ArrayIndexOutOfBoundsException
impl PartialEq for ArrayIndexOutOfBoundsException
Source§fn eq(&self, other: &ArrayIndexOutOfBoundsException) -> bool
fn eq(&self, other: &ArrayIndexOutOfBoundsException) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl SuperBuilderImpl<ArrayIndexOutOfBoundsException> for ArrayIndexOutOfBoundsBuilder
impl SuperBuilderImpl<ArrayIndexOutOfBoundsException> for ArrayIndexOutOfBoundsBuilder
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) -> ArrayIndexOutOfBoundsException
impl StructuralPartialEq for ArrayIndexOutOfBoundsException
Auto Trait Implementations§
impl Freeze for ArrayIndexOutOfBoundsException
impl RefUnwindSafe for ArrayIndexOutOfBoundsException
impl Send for ArrayIndexOutOfBoundsException
impl Sync for ArrayIndexOutOfBoundsException
impl Unpin for ArrayIndexOutOfBoundsException
impl UnwindSafe for ArrayIndexOutOfBoundsException
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