Enum oy::InteractiveError [−][src]
The main error type of this crate.
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Fields of InteractiveNotImplemented
type_name: &'a str
Fields of MethodsNotImplemented
type_name: &'a str
Fields of DebugNotImplemented
type_name: &'static str
Fields of FunctionNotFound
function_name: &'a str
Fields of ArgParseError
method_name: &'a str
error: ArgParseError<'a>
Trait Implementations
impl<'a> Clone for InteractiveError<'a>
[src]
fn clone(&self) -> InteractiveError<'a>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Debug for InteractiveError<'a>
[src]
impl Display for InteractiveError<'_>
[src]
impl<'a> Eq for InteractiveError<'a>
[src]
impl Error for InteractiveError<'_>
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl<'a> PartialEq<InteractiveError<'a>> for InteractiveError<'a>
[src]
fn eq(&self, other: &InteractiveError<'a>) -> bool
[src]
fn ne(&self, other: &InteractiveError<'a>) -> bool
[src]
impl<'a> StructuralEq for InteractiveError<'a>
[src]
impl<'a> StructuralPartialEq for InteractiveError<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for InteractiveError<'a>
impl<'a> Send for InteractiveError<'a>
impl<'a> Sync for InteractiveError<'a>
impl<'a> Unpin for InteractiveError<'a>
impl<'a> UnwindSafe for InteractiveError<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsDebug for T
[src]
pub default fn try_as_debug(&Self) -> Result<&dyn Debug, InteractiveError<'_>>
[src]
impl<T> AsDebug for T where
T: Debug,
[src]
T: Debug,
pub fn try_as_debug(&Self) -> Result<&dyn Debug, InteractiveError<'_>>
[src]
impl<T> AsInteractive for T
[src]
pub default fn try_as_interactive(
&Self
) -> Result<&dyn Interactive, InteractiveError<'_>>
[src]
&Self
) -> Result<&dyn Interactive, InteractiveError<'_>>
impl<T> AsInteractiveMut for T
[src]
pub default fn try_as_interactive_mut(
&mut Self
) -> Result<&mut dyn Interactive, InteractiveError<'_>>
[src]
&mut Self
) -> Result<&mut dyn Interactive, InteractiveError<'_>>
impl<T> AsMethods for T
[src]
pub default fn try_as_methods(
&Self
) -> Result<&dyn Methods, InteractiveError<'_>>
[src]
&Self
) -> Result<&dyn Methods, InteractiveError<'_>>
impl<T> AsMethodsMut for T
[src]
pub default fn try_as_methods_mut(
&mut Self
) -> Result<&mut dyn Methods, InteractiveError<'_>>
[src]
&mut Self
) -> Result<&mut dyn Methods, InteractiveError<'_>>
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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>,