pub struct MissingKeyError {
pub key: String,
pub data: String,
/* private fields */
}
Fields§
§key: String
§data: String
Implementations§
Source§impl MissingKeyError
impl MissingKeyError
pub fn new(key: &str, data: &str) -> MissingKeyError
Trait Implementations§
Source§impl Debug for MissingKeyError
impl Debug for MissingKeyError
Source§impl Display for MissingKeyError
impl Display for MissingKeyError
Source§impl Error for MissingKeyError
impl Error for MissingKeyError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
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
Source§impl From<MissingKeyError> for APTError
impl From<MissingKeyError> for APTError
Source§fn from(err: MissingKeyError) -> APTError
fn from(err: MissingKeyError) -> APTError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MissingKeyError
impl RefUnwindSafe for MissingKeyError
impl Send for MissingKeyError
impl Sync for MissingKeyError
impl Unpin for MissingKeyError
impl UnwindSafe for MissingKeyError
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