pub struct ResponseBlock {
pub code: u16,
pub transaction_id: u32,
pub params: [u32; 5],
pub param_count: u8,
}Expand description
MTP Response container (Bulk IN).
Fields§
§code: u16Response code (see resp).
transaction_id: u32Transaction ID matching the corresponding Command container.
params: [u32; 5]Up to 5 response parameters.
param_count: u8Number of valid entries in params (0..=5).
Implementations§
Trait Implementations§
Source§impl Clone for ResponseBlock
impl Clone for ResponseBlock
impl Copy for ResponseBlock
Source§impl Debug for ResponseBlock
impl Debug for ResponseBlock
impl Eq for ResponseBlock
Source§impl Format for ResponseBlock
impl Format for ResponseBlock
Source§impl PartialEq for ResponseBlock
impl PartialEq for ResponseBlock
impl StructuralPartialEq for ResponseBlock
Auto Trait Implementations§
impl Forget for ResponseBlock
impl Freeze for ResponseBlock
impl Move for ResponseBlock
impl RefUnwindSafe for ResponseBlock
impl Send for ResponseBlock
impl Sync for ResponseBlock
impl Unpin for ResponseBlock
impl UnsafeUnpin for ResponseBlock
impl UnwindSafe for ResponseBlock
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