pub struct TelnetServer { /* private fields */ }Expand description
Telnet server for receiving controller commands
Implementations§
Source§impl TelnetServer
impl TelnetServer
Sourcepub fn with_channel(port: u16, probe_id: u32, tx: Sender<TelnetCommand>) -> Self
pub fn with_channel(port: u16, probe_id: u32, tx: Sender<TelnetCommand>) -> Self
Create a new telnet server with command channel
Sourcepub async fn set_session_id(&self, session_id: String)
pub async fn set_session_id(&self, session_id: String)
Set the session ID (received from controller INIT)
Auto Trait Implementations§
impl !RefUnwindSafe for TelnetServer
impl !UnwindSafe for TelnetServer
impl Freeze for TelnetServer
impl Send for TelnetServer
impl Sync for TelnetServer
impl Unpin for TelnetServer
impl UnsafeUnpin for TelnetServer
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