pub enum SerialType {
File,
Stdout,
Sink,
Syslog,
SystemSerialType,
UnixStream,
}Expand description
Enum for possible type of serial devices
Variants§
Trait Implementations§
Source§impl Clone for SerialType
impl Clone for SerialType
Source§fn clone(&self) -> SerialType
fn clone(&self) -> SerialType
Returns a copy 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 SerialType
impl Debug for SerialType
Source§impl Default for SerialType
impl Default for SerialType
Source§impl<'de> Deserialize<'de> for SerialType
impl<'de> Deserialize<'de> for SerialType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SerialType
impl Display for SerialType
Source§impl PartialEq for SerialType
impl PartialEq for SerialType
Source§impl Serialize for SerialType
impl Serialize for SerialType
impl Eq for SerialType
impl StructuralPartialEq for SerialType
Auto Trait Implementations§
impl Freeze for SerialType
impl RefUnwindSafe for SerialType
impl Send for SerialType
impl Sync for SerialType
impl Unpin for SerialType
impl UnwindSafe for SerialType
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