pub struct StreamingState { /* private fields */ }Implementations§
Source§impl StreamingState
impl StreamingState
pub fn new() -> Self
pub fn borrow_session(&self) -> Ref<'_, StreamingSession>
pub fn borrow_session_mut(&self) -> RefMut<'_, StreamingSession>
pub fn terminal_mode(&self) -> Ref<'_, TerminalMode>
pub fn terminal_mode_mut(&self) -> RefMut<'_, TerminalMode>
pub fn thinking_active_index(&self) -> Ref<'_, Option<u64>>
pub fn thinking_active_index_mut(&self) -> RefMut<'_, Option<u64>>
pub fn thinking_non_tty_indices(&self) -> Ref<'_, BTreeSet<u64>>
pub fn thinking_non_tty_indices_mut(&self) -> RefMut<'_, BTreeSet<u64>>
pub fn suppress_thinking_for_message(&self) -> Ref<'_, bool>
pub fn suppress_thinking_for_message_mut(&self) -> RefMut<'_, bool>
pub fn text_line_active(&self) -> Ref<'_, bool>
pub fn text_line_active_mut(&self) -> RefMut<'_, bool>
pub fn cursor_up_active(&self) -> Ref<'_, bool>
pub fn cursor_up_active_mut(&self) -> RefMut<'_, bool>
pub fn last_rendered_content(&self) -> Ref<'_, HashMap<String, String>>
pub fn last_rendered_content_mut(&self) -> RefMut<'_, HashMap<String, String>>
Trait Implementations§
Source§impl Clone for StreamingState
impl Clone for StreamingState
Source§fn clone(&self) -> StreamingState
fn clone(&self) -> StreamingState
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 StreamingState
impl Debug for StreamingState
Auto Trait Implementations§
impl Freeze for StreamingState
impl !RefUnwindSafe for StreamingState
impl !Send for StreamingState
impl !Sync for StreamingState
impl Unpin for StreamingState
impl UnsafeUnpin for StreamingState
impl !UnwindSafe for StreamingState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more