pub enum ModelGenerativeError {
InvalidTrigger(String),
InvalidTimeKind(String),
InvalidDataReceivedError(String),
InvalidManualInterventionError(String),
InternalError(String),
UserDefinedError(String),
}Variants§
InvalidTrigger(String)
InvalidTimeKind(String)
InvalidDataReceivedError(String)
InvalidManualInterventionError(String)
InternalError(String)
UserDefinedError(String)
Trait Implementations§
Source§impl Clone for ModelGenerativeError
impl Clone for ModelGenerativeError
Source§fn clone(&self) -> ModelGenerativeError
fn clone(&self) -> ModelGenerativeError
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 ModelGenerativeError
impl Debug for ModelGenerativeError
Source§impl Display for ModelGenerativeError
impl Display for ModelGenerativeError
Source§impl Error for ModelGenerativeError
impl Error for ModelGenerativeError
1.30.0 · 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 From<ModelGenerativeError> for ModelBuildError
impl From<ModelGenerativeError> for ModelBuildError
Source§fn from(value: ModelGenerativeError) -> Self
fn from(value: ModelGenerativeError) -> Self
Converts to this type from the input type.
Source§impl Hash for ModelGenerativeError
impl Hash for ModelGenerativeError
Source§impl PartialEq for ModelGenerativeError
impl PartialEq for ModelGenerativeError
impl Eq for ModelGenerativeError
impl StructuralPartialEq for ModelGenerativeError
Auto Trait Implementations§
impl Freeze for ModelGenerativeError
impl RefUnwindSafe for ModelGenerativeError
impl Send for ModelGenerativeError
impl Sync for ModelGenerativeError
impl Unpin for ModelGenerativeError
impl UnwindSafe for ModelGenerativeError
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