Enum simple_chatgpt::CallbackReason
source · pub enum CallbackReason {
Start,
Data,
End,
Error(String),
}Variants§
Trait Implementations§
source§impl Debug for CallbackReason
impl Debug for CallbackReason
source§impl PartialEq<CallbackReason> for CallbackReason
impl PartialEq<CallbackReason> for CallbackReason
source§fn eq(&self, other: &CallbackReason) -> bool
fn eq(&self, other: &CallbackReason) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CallbackReason
Auto Trait Implementations§
impl RefUnwindSafe for CallbackReason
impl Send for CallbackReason
impl Sync for CallbackReason
impl Unpin for CallbackReason
impl UnwindSafe for CallbackReason
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