[−][src]Struct dash7_alp::action::ReturnFileData
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: u8
offset: u32
data: Box<[u8]>
Methods
impl ReturnFileData
[src]
pub fn new(new: ReturnFileData) -> Result<Self, Error>
[src]
Trait Implementations
impl Clone for ReturnFileData
[src]
fn clone(&self) -> ReturnFileData
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Codec for ReturnFileData
[src]
fn encoded_size(&self) -> usize
[src]
unsafe fn encode(&self, out: &mut [u8]) -> usize
[src]
fn decode(out: &[u8]) -> ParseResult<Self>
[src]
fn encode_to_box(&self) -> Box<[u8]>
[src]
impl Debug for ReturnFileData
[src]
impl PartialEq<ReturnFileData> for ReturnFileData
[src]
fn eq(&self, other: &ReturnFileData) -> bool
[src]
fn ne(&self, other: &ReturnFileData) -> bool
[src]
impl StructuralPartialEq for ReturnFileData
[src]
Auto Trait Implementations
impl RefUnwindSafe for ReturnFileData
impl Send for ReturnFileData
impl Sync for ReturnFileData
impl Unpin for ReturnFileData
impl UnwindSafe for ReturnFileData
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,