[−][src]Enum arraystring::error::Error
Every error possible when using ArrayString
Variants
Utf8
Conversion between available byte slice and UTF-8 failed (invalid data or invalid utf-8 character index)
Utf16
Conversion between available u16
slice and string failed
OutOfBounds
Out of boundaries access
Trait Implementations
impl From<Utf8Error> for Error
[src]
impl From<Utf8Error> for Error
impl From<DecodeUtf16Error> for Error
[src]
impl From<DecodeUtf16Error> for Error
fn from(_: DecodeUtf16Error) -> Self | [src] |
impl<'a> From<EncodeUtf16<'a>> for Error
[src]
impl<'a> From<EncodeUtf16<'a>> for Error
fn from(_: EncodeUtf16) -> Self | [src] |
impl From<Utf8> for Error
[src]
impl From<Utf8> for Error
impl From<Utf16> for Error
[src]
impl From<Utf16> for Error
impl From<OutOfBounds> for Error
[src]
impl From<OutOfBounds> for Error
fn from(_: OutOfBounds) -> Self | [src] |
impl Eq for Error
[src]
impl Eq for Error
impl Copy for Error
[src]
impl Copy for Error
impl PartialEq<Error> for Error
[src]
impl PartialEq<Error> for Error
fn eq(&self, other: &Self) -> bool | [src] |
| 1.0.0 [src] |
This method tests for !=
.
impl Clone for Error
[src]
impl Clone for Error
fn clone(&self) -> Error | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
Performs copy-assignment from source
. Read more
impl Debug for Error
[src]
impl Debug for Error
impl Display for Error
[src]
impl Display for Error
impl Hash for Error
[src]
impl Hash for Error
fn hash<H: Hasher>(&self, hasher: &mut H) | [src] |
fn hash_slice<H>(data: &[Self], state: &mut H) where | 1.3.0 [src] |
Feeds a slice of this type into the given [Hasher
]. Read more
impl Error for Error
[src]
impl Error for Error
fn description(&self) -> &str | 1.0.0 [src] |
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&dyn Error> | 1.0.0 [src] |
replaced by Error::source, which can support downcasting
The lower-level cause of this error, if any. Read more
fn source(&self) -> Option<&(dyn Error + 'static)> | 1.30.0 [src] |
The lower-level source of this error, if any. Read more
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
impl<T> ToString for T where
T: Display + ?Sized,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |
impl<T> Same for T
[src]
impl<T> Same for T
type Output = T
Should always be Self
impl<T> IntoSql for T
[src]
impl<T> IntoSql for T
fn into_sql<T>(self) -> Self::Expression where | [src] |
Convert self
to an expression for Diesel's query builder. Read more
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where | [src] |
Convert &self
to an expression for Diesel's query builder. Read more