pub enum MimiConstructionError<E>{
Codec(Error),
Parameters(ParameterOrchestrationError<E>),
}Expand description
Failure while selecting, materializing, or constructing Mimi on a backend.
Variants§
Codec(Error)
Backend-neutral Mimi construction failed.
Parameters(ParameterOrchestrationError<E>)
Generic parameter selection, materialization, validation, or binding failed.
Trait Implementations§
Source§impl<E> Debug for MimiConstructionError<E>
impl<E> Debug for MimiConstructionError<E>
Source§impl<E> Display for MimiConstructionError<E>
impl<E> Display for MimiConstructionError<E>
Source§impl<E> Error for MimiConstructionError<E>
impl<E> Error for MimiConstructionError<E>
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Source§impl<E> From<Error> for MimiConstructionError<E>
impl<E> From<Error> for MimiConstructionError<E>
Source§impl<E> From<ParameterOrchestrationError<E>> for MimiConstructionError<E>
impl<E> From<ParameterOrchestrationError<E>> for MimiConstructionError<E>
Source§fn from(source: ParameterOrchestrationError<E>) -> Self
fn from(source: ParameterOrchestrationError<E>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<E> Freeze for MimiConstructionError<E>where
ParameterOrchestrationError<E>: Freeze,
impl<E> RefUnwindSafe for MimiConstructionError<E>where
ParameterOrchestrationError<E>: RefUnwindSafe,
impl<E> Send for MimiConstructionError<E>where
ParameterOrchestrationError<E>: Send,
impl<E> Sync for MimiConstructionError<E>where
ParameterOrchestrationError<E>: Sync,
impl<E> Unpin for MimiConstructionError<E>where
ParameterOrchestrationError<E>: Unpin,
impl<E> UnsafeUnpin for MimiConstructionError<E>where
ParameterOrchestrationError<E>: UnsafeUnpin,
impl<E> UnwindSafe for MimiConstructionError<E>where
ParameterOrchestrationError<E>: UnwindSafe,
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