pub struct OutOfBounds;Expand description
Error caused by out of bounds access to ArrayString
Trait Implementations§
Source§impl Clone for OutOfBounds
impl Clone for OutOfBounds
Source§fn clone(&self) -> OutOfBounds
fn clone(&self) -> OutOfBounds
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 moreSource§impl Debug for OutOfBounds
impl Debug for OutOfBounds
Source§impl Default for OutOfBounds
impl Default for OutOfBounds
Source§fn default() -> OutOfBounds
fn default() -> OutOfBounds
Returns the “default value” for a type. Read more
Source§impl Display for OutOfBounds
impl Display for OutOfBounds
Source§impl Error for OutOfBounds
Available on crate feature std only.
impl Error for OutOfBounds
Available on crate feature
std only.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 From<OutOfBounds> for Error
impl From<OutOfBounds> for Error
Source§fn from(_: OutOfBounds) -> Self
fn from(_: OutOfBounds) -> Self
Converts to this type from the input type.
Source§impl PartialEq for OutOfBounds
impl PartialEq for OutOfBounds
Source§fn eq(&self, other: &OutOfBounds) -> bool
fn eq(&self, other: &OutOfBounds) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for OutOfBounds
impl Eq for OutOfBounds
impl StructuralPartialEq for OutOfBounds
Auto Trait Implementations§
impl Freeze for OutOfBounds
impl RefUnwindSafe for OutOfBounds
impl Send for OutOfBounds
impl Sync for OutOfBounds
impl Unpin for OutOfBounds
impl UnsafeUnpin for OutOfBounds
impl UnwindSafe for OutOfBounds
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