pub struct DownloadDataRequest<'a> {
pub download_id: u32,
pub adaptation: &'a [u8],
pub module_id: u16,
pub block_number: u16,
pub download_reason: u8,
}Expand description
DownloadDataRequest() (Table 82) — client (host) → server.
Fields§
§download_id: u32DownloadId.
adaptation: &'a [u8]Opaque adaptation bytes.
module_id: u16moduleId.
block_number: u16blockNumber.
download_reason: u8downloadReason.
Trait Implementations§
Source§impl<'a> Clone for DownloadDataRequest<'a>
impl<'a> Clone for DownloadDataRequest<'a>
Source§fn clone(&self) -> DownloadDataRequest<'a>
fn clone(&self) -> DownloadDataRequest<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for DownloadDataRequest<'a>
impl<'a> Debug for DownloadDataRequest<'a>
Source§impl<'a> Default for DownloadDataRequest<'a>
impl<'a> Default for DownloadDataRequest<'a>
Source§fn default() -> DownloadDataRequest<'a>
fn default() -> DownloadDataRequest<'a>
Returns the “default value” for a type. Read more
impl<'a> Eq for DownloadDataRequest<'a>
Source§impl<'a> Parse<'a> for DownloadDataRequest<'a>
impl<'a> Parse<'a> for DownloadDataRequest<'a>
Source§impl<'a> PartialEq for DownloadDataRequest<'a>
impl<'a> PartialEq for DownloadDataRequest<'a>
Source§fn eq(&self, other: &DownloadDataRequest<'a>) -> bool
fn eq(&self, other: &DownloadDataRequest<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'a> Serialize for DownloadDataRequest<'a>
impl<'a> Serialize for DownloadDataRequest<'a>
Source§impl Serialize for DownloadDataRequest<'_>
impl Serialize for DownloadDataRequest<'_>
Source§type Error = Error
type Error = Error
The error type this implementer returns (usually the same as the
corresponding
Parse impl, but need not be).Source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Number of bytes
serialize_into will write.impl<'a> StructuralPartialEq for DownloadDataRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for DownloadDataRequest<'a>
impl<'a> RefUnwindSafe for DownloadDataRequest<'a>
impl<'a> Send for DownloadDataRequest<'a>
impl<'a> Sync for DownloadDataRequest<'a>
impl<'a> Unpin for DownloadDataRequest<'a>
impl<'a> UnsafeUnpin for DownloadDataRequest<'a>
impl<'a> UnwindSafe for DownloadDataRequest<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more