pub struct AckHeader {
pub status: StatusCode,
pub opcode: OpCode,
pub length: u16,
pub request_id: u16,
}Expand description
Header for GenCP acknowledgements.
Fields§
§status: StatusCodeStatus returned by the device.
opcode: OpCodeOperation code associated with the acknowledgement.
length: u16Length of the payload in bytes.
request_id: u16Request identifier that this acknowledgement answers.
Trait Implementations§
impl Copy for AckHeader
impl Eq for AckHeader
impl StructuralPartialEq for AckHeader
Auto Trait Implementations§
impl Freeze for AckHeader
impl RefUnwindSafe for AckHeader
impl Send for AckHeader
impl Sync for AckHeader
impl Unpin for AckHeader
impl UnwindSafe for AckHeader
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