pub enum ArrayBytesFixedDisjointViewCreateError {
SubsetOutOfBounds(SubsetOutOfBoundsError),
InvalidBytesLength(InvalidBytesLengthError),
IndexerError(IndexerError),
}Expand description
Errors that can occur when creating a ArrayBytesFixedDisjointView.
Variants§
SubsetOutOfBounds(SubsetOutOfBoundsError)
The subset is out-of-bounds of the array shape.
InvalidBytesLength(InvalidBytesLengthError)
The length of the bytes is not the correct length.
IndexerError(IndexerError)
The indexer and shape are incompatible.
Trait Implementations§
Source§impl Clone for ArrayBytesFixedDisjointViewCreateError
impl Clone for ArrayBytesFixedDisjointViewCreateError
Source§fn clone(&self) -> ArrayBytesFixedDisjointViewCreateError
fn clone(&self) -> ArrayBytesFixedDisjointViewCreateError
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 Error for ArrayBytesFixedDisjointViewCreateError
impl Error for ArrayBytesFixedDisjointViewCreateError
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<ArrayBytesFixedDisjointViewCreateError> for ArrayError
impl From<ArrayBytesFixedDisjointViewCreateError> for ArrayError
Source§fn from(source: ArrayBytesFixedDisjointViewCreateError) -> Self
fn from(source: ArrayBytesFixedDisjointViewCreateError) -> Self
Converts to this type from the input type.
Source§impl From<ArrayBytesFixedDisjointViewCreateError> for CodecError
impl From<ArrayBytesFixedDisjointViewCreateError> for CodecError
Source§fn from(value: ArrayBytesFixedDisjointViewCreateError) -> CodecError
fn from(value: ArrayBytesFixedDisjointViewCreateError) -> CodecError
Converts to this type from the input type.
Source§impl From<IndexerError> for ArrayBytesFixedDisjointViewCreateError
impl From<IndexerError> for ArrayBytesFixedDisjointViewCreateError
Source§fn from(source: IndexerError) -> ArrayBytesFixedDisjointViewCreateError
fn from(source: IndexerError) -> ArrayBytesFixedDisjointViewCreateError
Converts to this type from the input type.
Source§impl From<InvalidBytesLengthError> for ArrayBytesFixedDisjointViewCreateError
impl From<InvalidBytesLengthError> for ArrayBytesFixedDisjointViewCreateError
Source§fn from(
source: InvalidBytesLengthError,
) -> ArrayBytesFixedDisjointViewCreateError
fn from( source: InvalidBytesLengthError, ) -> ArrayBytesFixedDisjointViewCreateError
Converts to this type from the input type.
Source§impl From<SubsetOutOfBoundsError> for ArrayBytesFixedDisjointViewCreateError
impl From<SubsetOutOfBoundsError> for ArrayBytesFixedDisjointViewCreateError
Source§fn from(
source: SubsetOutOfBoundsError,
) -> ArrayBytesFixedDisjointViewCreateError
fn from( source: SubsetOutOfBoundsError, ) -> ArrayBytesFixedDisjointViewCreateError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ArrayBytesFixedDisjointViewCreateError
impl Send for ArrayBytesFixedDisjointViewCreateError
impl Sync for ArrayBytesFixedDisjointViewCreateError
impl RefUnwindSafe for ArrayBytesFixedDisjointViewCreateError
impl Unpin for ArrayBytesFixedDisjointViewCreateError
impl UnsafeUnpin for ArrayBytesFixedDisjointViewCreateError
impl UnwindSafe for ArrayBytesFixedDisjointViewCreateError
Blanket Implementations§
Source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
Source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more