pub struct ArrayFullError {
pub current_len: usize,
}Expand description
An error returned when a NeoArray would exceed NeoArray::MAX_SIZE items.
Fields§
§current_len: usizeThe current length of the array when the push was attempted.
Trait Implementations§
Source§impl Clone for ArrayFullError
impl Clone for ArrayFullError
Source§fn clone(&self) -> ArrayFullError
fn clone(&self) -> ArrayFullError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ArrayFullError
Source§impl Debug for ArrayFullError
impl Debug for ArrayFullError
Source§impl Display for ArrayFullError
impl Display for ArrayFullError
impl Eq for ArrayFullError
Source§impl Error for ArrayFullError
impl Error for ArrayFullError
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
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for ArrayFullError
impl PartialEq for ArrayFullError
Source§fn eq(&self, other: &ArrayFullError) -> bool
fn eq(&self, other: &ArrayFullError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ArrayFullError
Auto Trait Implementations§
impl Freeze for ArrayFullError
impl RefUnwindSafe for ArrayFullError
impl Send for ArrayFullError
impl Sync for ArrayFullError
impl Unpin for ArrayFullError
impl UnsafeUnpin for ArrayFullError
impl UnwindSafe for ArrayFullError
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