pub struct TelnetState {
pub command_tx: Sender<TelnetCommand>,
pub probe_id: u32,
pub session_id: Arc<RwLock<Option<String>>>,
}Expand description
State needed for handling telnet connections directly in the SSH handler
Fields§
§command_tx: Sender<TelnetCommand>§probe_id: u32§session_id: Arc<RwLock<Option<String>>>Trait Implementations§
Source§impl Clone for TelnetState
impl Clone for TelnetState
Source§fn clone(&self) -> TelnetState
fn clone(&self) -> TelnetState
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for TelnetState
impl !UnwindSafe for TelnetState
impl Freeze for TelnetState
impl Send for TelnetState
impl Sync for TelnetState
impl Unpin for TelnetState
impl UnsafeUnpin for TelnetState
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