pub enum ReplyState {
Streaming,
Settled,
}Expand description
Whether a model’s reply is still arriving (D30).
Variants§
Streaming
More text may follow, so only the blocks before the closure point are read.
Settled
The call settled, so the whole text is read, as a version holding it would be previewed.
Trait Implementations§
Source§impl Clone for ReplyState
impl Clone for ReplyState
impl Copy for ReplyState
Source§impl Debug for ReplyState
impl Debug for ReplyState
Source§impl<'de> Deserialize<'de> for ReplyState
impl<'de> Deserialize<'de> for ReplyState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ReplyState
Source§impl PartialEq for ReplyState
impl PartialEq for ReplyState
Source§impl Serialize for ReplyState
impl Serialize for ReplyState
impl StructuralPartialEq for ReplyState
Auto Trait Implementations§
impl Freeze for ReplyState
impl RefUnwindSafe for ReplyState
impl Send for ReplyState
impl Sync for ReplyState
impl Unpin for ReplyState
impl UnsafeUnpin for ReplyState
impl UnwindSafe for ReplyState
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