pub enum ReadErrorKind {
Type(TypeError),
Missing,
}Expand description
The two ways reading a setting fails.
Variants§
Type(TypeError)
A value of the wrong shape for the field.
Missing
Nothing supplied a value, and the spec declares no default.
Trait Implementations§
Source§impl Clone for ReadErrorKind
impl Clone for ReadErrorKind
Source§fn clone(&self) -> ReadErrorKind
fn clone(&self) -> ReadErrorKind
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 moreSource§impl Debug for ReadErrorKind
impl Debug for ReadErrorKind
Source§impl PartialEq for ReadErrorKind
impl PartialEq for ReadErrorKind
impl StructuralPartialEq for ReadErrorKind
Auto Trait Implementations§
impl Freeze for ReadErrorKind
impl RefUnwindSafe for ReadErrorKind
impl Send for ReadErrorKind
impl Sync for ReadErrorKind
impl Unpin for ReadErrorKind
impl UnsafeUnpin for ReadErrorKind
impl UnwindSafe for ReadErrorKind
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