pub enum OpenConnection {
Tty(Tty),
Port(TargetPort),
}
Variants§
Tty(Tty)
Port(TargetPort)
Trait Implementations§
Source§impl Clone for OpenConnection
impl Clone for OpenConnection
Source§fn clone(&self) -> OpenConnection
fn clone(&self) -> OpenConnection
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 OpenConnection
impl Debug for OpenConnection
Source§impl PartialEq for OpenConnection
impl PartialEq for OpenConnection
impl Eq for OpenConnection
impl StructuralPartialEq for OpenConnection
Auto Trait Implementations§
impl Freeze for OpenConnection
impl RefUnwindSafe for OpenConnection
impl Send for OpenConnection
impl Sync for OpenConnection
impl Unpin for OpenConnection
impl UnwindSafe for OpenConnection
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