pub enum StopCause {
End,
MaxTokens,
Cancelled,
}Variants§
Trait Implementations§
impl Copy for StopCause
impl Eq for StopCause
impl StructuralPartialEq for StopCause
Auto Trait Implementations§
impl Forget for StopCause
impl Freeze for StopCause
impl Move for StopCause
impl RefUnwindSafe for StopCause
impl Send for StopCause
impl Sync for StopCause
impl Unpin for StopCause
impl UnsafeUnpin for StopCause
impl UnwindSafe for StopCause
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