Enum AiPromptError
pub enum AiPromptError {
Empty,
UnknownLabel,
}Variants§
Trait Implementations§
§impl Clone for AiPromptError
impl Clone for AiPromptError
§fn clone(&self) -> AiPromptError
fn clone(&self) -> AiPromptError
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 more§impl Debug for AiPromptError
impl Debug for AiPromptError
§impl Display for AiPromptError
impl Display for AiPromptError
§impl Error for AiPromptError
impl Error for AiPromptError
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()
§impl PartialEq for AiPromptError
impl PartialEq for AiPromptError
impl Copy for AiPromptError
impl Eq for AiPromptError
impl StructuralPartialEq for AiPromptError
Auto Trait Implementations§
impl Freeze for AiPromptError
impl RefUnwindSafe for AiPromptError
impl Send for AiPromptError
impl Sync for AiPromptError
impl Unpin for AiPromptError
impl UnsafeUnpin for AiPromptError
impl UnwindSafe for AiPromptError
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