[][src]Struct dash7_alp::action::ReturnFileData

pub struct ReturnFileData {
    pub group: bool,
    pub resp: bool,
    pub file_id: u8,
    pub offset: u32,
    pub data: Box<[u8]>,
    // some fields omitted
}

Responds to a ReadFileData request.

This can also be used to report unsollicited data.

Fields

group: bool

Group with next action

resp: bool

Ask for a response (status)

file_id: u8offset: u32data: Box<[u8]>

Methods

impl ReturnFileData[src]

pub fn new(new: ReturnFileData) -> Result<Self, Error>[src]

Trait Implementations

impl Clone for ReturnFileData[src]

impl Codec for ReturnFileData[src]

impl Debug for ReturnFileData[src]

impl PartialEq<ReturnFileData> for ReturnFileData[src]

impl StructuralPartialEq for ReturnFileData[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.