pub enum SpecialDevice {
}Variants§
VC(Option<VC>)
Pty(Option<PathBuf>)
None
Null
Chardev(String)
Dev(String)
Parport(usize)
File(PathBuf)
Stdio
Pipe(PathBuf)
Com(usize)
Udp(Udp)
Tcp(Tcp)
Telnet(Telnet)
Websocket(Websocket)
Unix(Unix)
Mon(String)
Braille
Msmouse
Trait Implementations§
Source§impl Clone for SpecialDevice
impl Clone for SpecialDevice
Source§fn clone(&self) -> SpecialDevice
fn clone(&self) -> SpecialDevice
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 SpecialDevice
impl Debug for SpecialDevice
Source§impl Hash for SpecialDevice
impl Hash for SpecialDevice
Source§impl Ord for SpecialDevice
impl Ord for SpecialDevice
Source§fn cmp(&self, other: &SpecialDevice) -> Ordering
fn cmp(&self, other: &SpecialDevice) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SpecialDevice
impl PartialEq for SpecialDevice
Source§impl PartialOrd for SpecialDevice
impl PartialOrd for SpecialDevice
Source§impl ToCommand for SpecialDevice
impl ToCommand for SpecialDevice
fn to_command(&self) -> Vec<String>
fn to_single_command(&self) -> String
impl Eq for SpecialDevice
impl StructuralPartialEq for SpecialDevice
Auto Trait Implementations§
impl Freeze for SpecialDevice
impl RefUnwindSafe for SpecialDevice
impl Send for SpecialDevice
impl Sync for SpecialDevice
impl Unpin for SpecialDevice
impl UnwindSafe for SpecialDevice
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