Enum DensePlanError
pub enum DensePlanError {
InvalidDimensions,
EmptyLayers,
ArithmeticOverflow,
ByteBudget {
required: usize,
available: usize,
},
}Variants§
Trait Implementations§
§impl Clone for DensePlanError
impl Clone for DensePlanError
§fn clone(&self) -> DensePlanError
fn clone(&self) -> DensePlanError
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 DensePlanError
§impl Debug for DensePlanError
impl Debug for DensePlanError
§impl Display for DensePlanError
impl Display for DensePlanError
impl Eq for DensePlanError
§impl Error for DensePlanError
impl Error for DensePlanError
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()
§impl PartialEq for DensePlanError
impl PartialEq for DensePlanError
impl StructuralPartialEq for DensePlanError
Auto Trait Implementations§
impl Freeze for DensePlanError
impl RefUnwindSafe for DensePlanError
impl Send for DensePlanError
impl Sync for DensePlanError
impl Unpin for DensePlanError
impl UnsafeUnpin for DensePlanError
impl UnwindSafe for DensePlanError
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