pub struct BadArrayShape {
pub argument: &'static str,
pub function: &'static str,
pub expected: String,
pub received: String,
}Fields§
§argument: &'static str§function: &'static str§expected: String§received: StringTrait Implementations§
Source§impl Debug for BadArrayShape
impl Debug for BadArrayShape
Source§impl Display for BadArrayShape
impl Display for BadArrayShape
Source§impl Error for BadArrayShape
impl Error for BadArrayShape
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<BadArrayShape> for IOError
impl From<BadArrayShape> for IOError
Source§fn from(source: BadArrayShape) -> Self
fn from(source: BadArrayShape) -> Self
Converts to this type from the input type.
Source§impl From<BadArrayShape> for MeasurementSetWriteError
impl From<BadArrayShape> for MeasurementSetWriteError
Source§fn from(source: BadArrayShape) -> Self
fn from(source: BadArrayShape) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BadArrayShape
impl RefUnwindSafe for BadArrayShape
impl Send for BadArrayShape
impl Sync for BadArrayShape
impl Unpin for BadArrayShape
impl UnwindSafe for BadArrayShape
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> 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