Struct apt_parser::errors::MissingKeyError
source · 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)>
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 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