pub struct ScsiResult {
pub status: ScsiStatus,
pub sense: Sense,
pub data: Vec<u8>,
}Expand description
Result of executing a SCSI command.
data is already truncated to the number of bytes the device actually
transferred, so data.len() is always authoritative — no separate
transfer-length field is exposed.
Fields§
§status: ScsiStatus§sense: Sense§data: Vec<u8>Trait Implementations§
Source§impl Clone for ScsiResult
impl Clone for ScsiResult
Auto Trait Implementations§
impl Freeze for ScsiResult
impl RefUnwindSafe for ScsiResult
impl Send for ScsiResult
impl Sync for ScsiResult
impl Unpin for ScsiResult
impl UnsafeUnpin for ScsiResult
impl UnwindSafe for ScsiResult
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