pub struct DevDepMsgInHeader {
pub b_tag: u8,
pub transfer_size: u32,
pub eom: bool,
pub using_term_char: bool,
}Expand description
12-byte header for a DEV_DEP_MSG_IN response (sent by device on Bulk-IN).
Fields§
§b_tag: u8Echoed host transfer tag.
transfer_size: u32Payload size in bytes.
eom: boolWhether this transfer contains the end of the message (EOM).
using_term_char: boolWhether the transfer was terminated due to encountering term_char.
Implementations§
Trait Implementations§
Source§impl Clone for DevDepMsgInHeader
impl Clone for DevDepMsgInHeader
impl Copy for DevDepMsgInHeader
Source§impl Debug for DevDepMsgInHeader
impl Debug for DevDepMsgInHeader
impl Eq for DevDepMsgInHeader
Source§impl Format for DevDepMsgInHeader
impl Format for DevDepMsgInHeader
Source§impl PartialEq for DevDepMsgInHeader
impl PartialEq for DevDepMsgInHeader
impl StructuralPartialEq for DevDepMsgInHeader
Auto Trait Implementations§
impl Forget for DevDepMsgInHeader
impl Freeze for DevDepMsgInHeader
impl Move for DevDepMsgInHeader
impl RefUnwindSafe for DevDepMsgInHeader
impl Send for DevDepMsgInHeader
impl Sync for DevDepMsgInHeader
impl Unpin for DevDepMsgInHeader
impl UnsafeUnpin for DevDepMsgInHeader
impl UnwindSafe for DevDepMsgInHeader
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