Enum dhcpv4::stash::StashError
source · pub enum StashError {
EmptyPrefix,
InvalidPrefix {
prefix: String,
invalid_chars: HashSet<char>,
},
UnexpectedStashValue {
actual: Value,
expected: Value,
},
JsonDeserialization(String, Error),
JsonSerialization(String, Error),
MissingValue(String),
Fidl(Error),
StashConnect(Error),
}
Variants§
EmptyPrefix
InvalidPrefix
UnexpectedStashValue
JsonDeserialization(String, Error)
JsonSerialization(String, Error)
MissingValue(String)
Fidl(Error)
StashConnect(Error)
Trait Implementations§
source§impl Debug for StashError
impl Debug for StashError
source§impl Display for StashError
impl Display for StashError
source§impl Error for StashError
impl Error for StashError
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
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl !RefUnwindSafe for StashError
impl Send for StashError
impl Sync for StashError
impl Unpin for StashError
impl !UnwindSafe for StashError
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
§impl<T> Encode<Ambiguous1> for T
impl<T> Encode<Ambiguous1> for T
§impl<T> Encode<Ambiguous2> for T
impl<T> Encode<Ambiguous2> for T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
impl<T, U> TryIntoExt<U> for Twhere U: TryFromExt<T>,
type Error = <U as TryFromExt<T>>::Error
§fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
Tries to perform the conversion.