[−][src]Enum edres::OptionsError
An error type for when a StructOptions value
failed validation.
Variants
InvalidStructName(String)Occurs when the provided struct_name is not a valid Rust identifier.
InvalidConstName(String)Occurs when the provided const_name is not a valid Rust identifier.
Trait Implementations
impl Debug for OptionsError[src]
impl Display for OptionsError[src]
impl Fail for OptionsError[src]
pub fn name(&self) -> Option<&str>[src]
pub fn cause(&self) -> Option<&dyn Fail>[src]
pub fn backtrace(&self) -> Option<&Backtrace>[src]
pub fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static, [src]
D: Display + Send + Sync + 'static,
pub fn compat(self) -> Compat<Self>[src]
impl From<OptionsError> for GenerationError[src]
pub fn from(error: OptionsError) -> Self[src]
Auto Trait Implementations
impl RefUnwindSafe for OptionsError
impl Send for OptionsError
impl Sync for OptionsError
impl Unpin for OptionsError
impl UnwindSafe for OptionsError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> AsFail for T where
T: Fail, [src]
T: Fail,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,