#[repr(C)]pub struct osdp_cmd_file_tx {
pub id: c_int,
pub flags: u32,
}Expand description
@brief File transfer start command
Fields§
§id: c_intPre-agreed file ID between CP and PD
flags: u32Reserved and set to zero by OSDP spec.
@note: The upper bits are used by libosdp internally (IOW, not sent over the OSDP bus). Currently the following flags are defined:
- @ref OSDP_CMD_FILE_TX_FLAG_CANCEL
Trait Implementations§
Source§impl Clone for osdp_cmd_file_tx
impl Clone for osdp_cmd_file_tx
impl Copy for osdp_cmd_file_tx
Auto Trait Implementations§
impl Freeze for osdp_cmd_file_tx
impl RefUnwindSafe for osdp_cmd_file_tx
impl Send for osdp_cmd_file_tx
impl Sync for osdp_cmd_file_tx
impl Unpin for osdp_cmd_file_tx
impl UnsafeUnpin for osdp_cmd_file_tx
impl UnwindSafe for osdp_cmd_file_tx
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