pub struct TelnetOption {
pub allow_local: bool,
pub allow_remote: bool,
pub start_local: bool,
pub start_remote: bool,
}Fields§
§allow_local: bool§allow_remote: bool§start_local: bool§start_remote: boolTrait Implementations§
Source§impl Clone for TelnetOption
impl Clone for TelnetOption
Source§fn clone(&self) -> TelnetOption
fn clone(&self) -> TelnetOption
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 Default for TelnetOption
impl Default for TelnetOption
Source§fn default() -> TelnetOption
fn default() -> TelnetOption
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TelnetOption
impl RefUnwindSafe for TelnetOption
impl Send for TelnetOption
impl Sync for TelnetOption
impl Unpin for TelnetOption
impl UnwindSafe for TelnetOption
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