pub struct NotImplemented;
Expand description
Marker for functions not implemented by a specific type.
This is part of the Array Protocol API design and is used as a marker to indicate
that a function is not implemented by a specific array type. It’s different from
the CoreError::NotImplementedError
enum variant, which is used for error reporting.
When an error is propagated up the call chain, NotImplemented
is converted
to OperationError::NotImplemented
and then to CoreError::NotImplementedError
for consistent error handling.
Trait Implementations§
Source§impl Clone for NotImplemented
impl Clone for NotImplemented
Source§fn clone(&self) -> NotImplemented
fn clone(&self) -> NotImplemented
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NotImplemented
impl Debug for NotImplemented
Source§impl Display for NotImplemented
impl Display for NotImplemented
Source§impl From<NotImplemented> for OperationError
impl From<NotImplemented> for OperationError
Source§fn from(_: NotImplemented) -> Self
fn from(_: NotImplemented) -> Self
Converts to this type from the input type.
impl Copy for NotImplemented
Auto Trait Implementations§
impl Freeze for NotImplemented
impl RefUnwindSafe for NotImplemented
impl Send for NotImplemented
impl Sync for NotImplemented
impl Unpin for NotImplemented
impl UnwindSafe for NotImplemented
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
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