UdsCommandByte

Type Alias UdsCommandByte 

Source
pub type UdsCommandByte = ByteWrapper<UdsCommand>;
Expand description

Store a single byte, either as a Standard(UdsCommand), or as an Extended(u8).

Aliased Type§

pub enum UdsCommandByte {
    Standard(UdsCommand),
    Extended(u8),
}

Variants§

§

Standard(UdsCommand)

👎Deprecated: The auto_uds crate has been renamed to automotive_diag. Update your Cargo.toml, and use this enum from the uds namespace.
§

Extended(u8)

👎Deprecated: The auto_uds crate has been renamed to automotive_diag. Update your Cargo.toml, and use this enum from the uds namespace.

Trait Implementations§

Source§

impl From<UdsCommand> for UdsCommandByte

Source§

fn from(value: UdsCommand) -> Self

Converts to this type from the input type.