pub enum OptionsError {
IO,
InvalidMetadata,
InvalidOptionLength,
InvalidOptionKind,
Unimplemented,
}
Variants§
Trait Implementations§
Source§impl Clone for OptionsError
impl Clone for OptionsError
Source§fn clone(&self) -> OptionsError
fn clone(&self) -> OptionsError
Returns a duplicate of the value. Read more
1.0.0 · 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 OptionsError
impl Debug for OptionsError
Source§impl<'de> Deserialize<'de> for OptionsError
impl<'de> Deserialize<'de> for OptionsError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<Error> for OptionsError
impl From<Error> for OptionsError
Source§fn from(e: Error) -> OptionsError
fn from(e: Error) -> OptionsError
Converts to this type from the input type.
Source§impl From<OptionsError> for BaseError
impl From<OptionsError> for BaseError
Source§fn from(o: OptionsError) -> BaseError
fn from(o: OptionsError) -> BaseError
Converts to this type from the input type.
Source§impl From<OptionsError> for Error
impl From<OptionsError> for Error
Source§fn from(e: OptionsError) -> Error
fn from(e: OptionsError) -> Error
Converts to this type from the input type.
Source§impl PartialEq for OptionsError
impl PartialEq for OptionsError
Source§impl Serialize for OptionsError
impl Serialize for OptionsError
impl StructuralPartialEq for OptionsError
Auto Trait Implementations§
impl Freeze for OptionsError
impl RefUnwindSafe for OptionsError
impl Send for OptionsError
impl Sync for OptionsError
impl Unpin for OptionsError
impl UnwindSafe for OptionsError
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