UdsSessionTypeByte

Type Alias UdsSessionTypeByte 

Source
pub type UdsSessionTypeByte = ByteWrapper<UdsSessionType>;
Expand description

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

Aliased Type§

pub enum UdsSessionTypeByte {
    Standard(UdsSessionType),
    Extended(u8),
}

Variants§

§

Standard(UdsSessionType)

👎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<UdsSessionType> for UdsSessionTypeByte

Source§

fn from(value: UdsSessionType) -> Self

Converts to this type from the input type.