pub struct XWrite {
pub mode: u8,
pub payload: Vec<u8>,
}Available on crate feature
alloc only.Expand description
osdp_XWR body — opaque container preserving mode + payload.
Higher-level helpers can interpret the payload according to mode.
Fields§
§mode: u8XRW_MODE byte.
payload: Vec<u8>Mode-specific payload (sub-command + data).
Implementations§
Trait Implementations§
impl Eq for XWrite
impl StructuralPartialEq for XWrite
Auto Trait Implementations§
impl Freeze for XWrite
impl RefUnwindSafe for XWrite
impl Send for XWrite
impl Sync for XWrite
impl Unpin for XWrite
impl UnsafeUnpin for XWrite
impl UnwindSafe for XWrite
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