Type Alias ParsedActionFrame

Source
pub type ParsedActionFrame<const NO_ACK: bool, B> = NoAck<NO_ACK, ActionBody<B>>;

Aliased Type§

struct ParsedActionFrame<const NO_ACK: bool, B>(pub ActionBody<B>);

Fields§

§0: ActionBody<B>

Implementations

Source§

impl<const NO_ACK: bool, B> NoAck<NO_ACK, ActionBody<B>>
where B: SplitByteSlice,

Source

pub fn parse(bytes: B) -> Option<NoAck<NO_ACK, ActionBody<B>>>

Source§

impl<const NO_ACK: bool, T> NoAck<NO_ACK, T>

Source

pub fn into_body(self) -> T

Trait Implementations

Source§

impl<const NO_ACK: bool, T> AsRef<T> for NoAck<NO_ACK, T>

Source§

fn as_ref(&self) -> &T

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

impl<const NO_ACK: bool, T> Clone for NoAck<NO_ACK, T>
where T: Clone,

Source§

fn clone(&self) -> NoAck<NO_ACK, T>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<const NO_ACK: bool, T> Debug for NoAck<NO_ACK, T>
where T: Debug,

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<const NO_ACK: bool, T> Copy for NoAck<NO_ACK, T>
where T: Copy,