pub trait AsPhyPayloadBytes {
    // Required method
    fn as_bytes(&self) -> &[u8] ;
}
Expand description

Trait with the sole purpose to make clear distinction in some implementations between types that just happen to have AsRef and those that want to have the given implementations (like MICAble and MHDRAble).

Required Methods§

source

fn as_bytes(&self) -> &[u8]

Trait Implementations§

source§

impl AsRef<[u8]> for dyn AsPhyPayloadBytes

source§

fn as_ref(&self) -> &[u8]

Converts this type into a shared reference of the (usually inferred) input type.

Implementors§