pub struct ReadError {
pub key: &'static str,
pub origin: Option<Origin>,
pub kind: ReadErrorKind,
}Expand description
Why a setting could not be read as the type its field holds.
Fields§
§key: &'static strThe setting’s key, as the spec declares it.
origin: Option<Origin>Where the offending value came from. Absent when there is no value at all — nothing to have an origin.
kind: ReadErrorKindTrait Implementations§
impl StructuralPartialEq for ReadError
Auto Trait Implementations§
impl Freeze for ReadError
impl RefUnwindSafe for ReadError
impl Send for ReadError
impl Sync for ReadError
impl Unpin for ReadError
impl UnsafeUnpin for ReadError
impl UnwindSafe for ReadError
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