pub struct ExtendedScsiStorageTransaction {
pub lun: u32,
pub operation: u32,
pub status: u32,
}Expand description
Extended SCSI Storage Transaction - Format (0,2002)
SCSI operation transaction details
§XDR Definition (sFlow Discussion)
/* Extended SCSI transaction */
/* opaque = flow_data; enterprise = 0; format = 2002 */
struct extended_scsi_storage_transaction {
unsigned int lun; /* LUN */
unsigned int operation; /* use maxint to encode unknown operation */
unsigned int status; /* SCSI status code reporting result of operation */
}Fields§
§lun: u32Logical Unit Number
operation: u32SCSI operation (use maxint to encode unknown operation)
status: u32SCSI status code reporting result of operation
Trait Implementations§
Source§impl Clone for ExtendedScsiStorageTransaction
impl Clone for ExtendedScsiStorageTransaction
Source§fn clone(&self) -> ExtendedScsiStorageTransaction
fn clone(&self) -> ExtendedScsiStorageTransaction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for ExtendedScsiStorageTransaction
impl PartialEq for ExtendedScsiStorageTransaction
Source§fn eq(&self, other: &ExtendedScsiStorageTransaction) -> bool
fn eq(&self, other: &ExtendedScsiStorageTransaction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ExtendedScsiStorageTransaction
impl StructuralPartialEq for ExtendedScsiStorageTransaction
Auto Trait Implementations§
impl Freeze for ExtendedScsiStorageTransaction
impl RefUnwindSafe for ExtendedScsiStorageTransaction
impl Send for ExtendedScsiStorageTransaction
impl Sync for ExtendedScsiStorageTransaction
impl Unpin for ExtendedScsiStorageTransaction
impl UnwindSafe for ExtendedScsiStorageTransaction
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