pub struct TerminalStream { /* private fields */ }Implementations§
Source§impl TerminalStream
impl TerminalStream
pub fn connect( client: &Client, pane_id: PaneId, client_id: u64, takeover: bool, rows: u16, cols: u16, ) -> Result<Self>
pub fn epoch(&self) -> u64
pub fn request_resync(&self)
pub fn try_send( &self, message: TerminalClientMessage, ) -> Result<(), TrySendError<TerminalClientMessage>>
pub fn try_recv(&self) -> Result<TerminalServerMessage, TryRecvError>
Trait Implementations§
Source§impl Drop for TerminalStream
impl Drop for TerminalStream
Auto Trait Implementations§
impl !RefUnwindSafe for TerminalStream
impl !Sync for TerminalStream
impl !UnwindSafe for TerminalStream
impl Freeze for TerminalStream
impl Send for TerminalStream
impl Unpin for TerminalStream
impl UnsafeUnpin for TerminalStream
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