[−][src]Enum mini_slcan::read::Command
A command sent from the host to the SLCAN device.
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Fields of SetupWithBitrate
bitrate: BitrateFields of TxStandard
identifier: Identifierframe: CanFrameTransmit an extended CAN frame.
Fields of TxExt
identifier: ExtIdentifierframe: CanFrameFields of TxStandardRtr
identifier: Identifierlen: u8Fields of TxExtRtr
identifier: ExtIdentifierlen: u8Fields of SetRxTimestamp
timestamp: boolImplementations
impl Command[src]
pub const MAX_ENCODED_LEN: usize[src]
pub fn decode(input: &[u8]) -> Result<Self, Error>[src]
Decodes a command from an input string. The input must contain the terminating CR
character (ASCII 13).
Trait Implementations
impl Debug for Command[src]
impl Eq for Command[src]
impl Format for Command[src]
impl PartialEq<Command> for Command[src]
impl StructuralEq for Command[src]
impl StructuralPartialEq for Command[src]
Auto Trait Implementations
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,