pub enum TerminalStatus {
Connected,
Reconnecting,
Offline,
}Expand description
Connection status for a TerminalPane.
Variants§
Connected
The pane is live and will receive broadcast input.
Reconnecting
The pane is temporarily unavailable; shown in amber and excluded from broadcasts.
Offline
The pane is offline; shown in red and excluded from broadcasts.
Implementations§
Source§impl TerminalStatus
impl TerminalStatus
Sourcepub fn indicator_state(self) -> IndicatorState
pub fn indicator_state(self) -> IndicatorState
Map to the corresponding IndicatorState so
the pane header can reuse the library’s status-light glyph.
Trait Implementations§
Source§impl Clone for TerminalStatus
impl Clone for TerminalStatus
Source§fn clone(&self) -> TerminalStatus
fn clone(&self) -> TerminalStatus
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 TerminalStatus
impl Debug for TerminalStatus
Source§impl Hash for TerminalStatus
impl Hash for TerminalStatus
Source§impl PartialEq for TerminalStatus
impl PartialEq for TerminalStatus
impl Copy for TerminalStatus
impl Eq for TerminalStatus
impl StructuralPartialEq for TerminalStatus
Auto Trait Implementations§
impl Freeze for TerminalStatus
impl RefUnwindSafe for TerminalStatus
impl Send for TerminalStatus
impl Sync for TerminalStatus
impl Unpin for TerminalStatus
impl UnsafeUnpin for TerminalStatus
impl UnwindSafe for TerminalStatus
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