pub enum TerminalCloseReason {
Detached,
Exited,
SessionClosed,
Overrun,
Unknown,
}Expand description
Why a mirror ended.
Variants§
Detached
The phone asked to stop mirroring.
Exited
The child exited. The tab is over, not just the mirror.
SessionClosed
The session was closed on the machine.
Overrun
The reader could not keep up and the mirror was dropped to protect the device socket. Reattaching is the remedy, and it replays.
Unknown
Trait Implementations§
Source§impl Clone for TerminalCloseReason
impl Clone for TerminalCloseReason
Source§fn clone(&self) -> TerminalCloseReason
fn clone(&self) -> TerminalCloseReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TerminalCloseReason
Source§impl Debug for TerminalCloseReason
impl Debug for TerminalCloseReason
Source§impl<'de> Deserialize<'de> for TerminalCloseReason
impl<'de> Deserialize<'de> for TerminalCloseReason
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 TerminalCloseReason
Source§impl PartialEq for TerminalCloseReason
impl PartialEq for TerminalCloseReason
Source§impl Serialize for TerminalCloseReason
impl Serialize for TerminalCloseReason
impl StructuralPartialEq for TerminalCloseReason
Auto Trait Implementations§
impl Freeze for TerminalCloseReason
impl RefUnwindSafe for TerminalCloseReason
impl Send for TerminalCloseReason
impl Sync for TerminalCloseReason
impl Unpin for TerminalCloseReason
impl UnsafeUnpin for TerminalCloseReason
impl UnwindSafe for TerminalCloseReason
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.