pub struct ScsiDispatchCmdTimeoutFtraceEvent {Show 16 fields
pub host_no: Option<u32>,
pub channel: Option<u32>,
pub id: Option<u32>,
pub lun: Option<u32>,
pub result: Option<i32>,
pub opcode: Option<u32>,
pub cmd_len: Option<u32>,
pub data_sglen: Option<u32>,
pub prot_sglen: Option<u32>,
pub prot_op: Option<u32>,
pub cmnd: Option<String>,
pub driver_tag: Option<i32>,
pub scheduler_tag: Option<i32>,
pub sense_key: Option<u32>,
pub asc: Option<u32>,
pub ascq: Option<u32>,
}Fields§
§host_no: Option<u32>§channel: Option<u32>§id: Option<u32>§lun: Option<u32>§result: Option<i32>§opcode: Option<u32>§cmd_len: Option<u32>§data_sglen: Option<u32>§prot_sglen: Option<u32>§prot_op: Option<u32>§cmnd: Option<String>§driver_tag: Option<i32>§scheduler_tag: Option<i32>§sense_key: Option<u32>§asc: Option<u32>§ascq: Option<u32>Implementations§
Source§impl ScsiDispatchCmdTimeoutFtraceEvent
impl ScsiDispatchCmdTimeoutFtraceEvent
Sourcepub fn host_no(&self) -> u32
pub fn host_no(&self) -> u32
Returns the value of host_no, or the default value if host_no is unset.
Sourcepub fn channel(&self) -> u32
pub fn channel(&self) -> u32
Returns the value of channel, or the default value if channel is unset.
Sourcepub fn result(&self) -> i32
pub fn result(&self) -> i32
Returns the value of result, or the default value if result is unset.
Sourcepub fn opcode(&self) -> u32
pub fn opcode(&self) -> u32
Returns the value of opcode, or the default value if opcode is unset.
Sourcepub fn cmd_len(&self) -> u32
pub fn cmd_len(&self) -> u32
Returns the value of cmd_len, or the default value if cmd_len is unset.
Sourcepub fn data_sglen(&self) -> u32
pub fn data_sglen(&self) -> u32
Returns the value of data_sglen, or the default value if data_sglen is unset.
Sourcepub fn prot_sglen(&self) -> u32
pub fn prot_sglen(&self) -> u32
Returns the value of prot_sglen, or the default value if prot_sglen is unset.
Sourcepub fn prot_op(&self) -> u32
pub fn prot_op(&self) -> u32
Returns the value of prot_op, or the default value if prot_op is unset.
Sourcepub fn driver_tag(&self) -> i32
pub fn driver_tag(&self) -> i32
Returns the value of driver_tag, or the default value if driver_tag is unset.
Sourcepub fn scheduler_tag(&self) -> i32
pub fn scheduler_tag(&self) -> i32
Returns the value of scheduler_tag, or the default value if scheduler_tag is unset.
Trait Implementations§
Source§impl Clone for ScsiDispatchCmdTimeoutFtraceEvent
impl Clone for ScsiDispatchCmdTimeoutFtraceEvent
Source§fn clone(&self) -> ScsiDispatchCmdTimeoutFtraceEvent
fn clone(&self) -> ScsiDispatchCmdTimeoutFtraceEvent
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 Message for ScsiDispatchCmdTimeoutFtraceEvent
impl Message for ScsiDispatchCmdTimeoutFtraceEvent
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for ScsiDispatchCmdTimeoutFtraceEvent
impl PartialEq for ScsiDispatchCmdTimeoutFtraceEvent
Source§fn eq(&self, other: &ScsiDispatchCmdTimeoutFtraceEvent) -> bool
fn eq(&self, other: &ScsiDispatchCmdTimeoutFtraceEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ScsiDispatchCmdTimeoutFtraceEvent
Auto Trait Implementations§
impl Freeze for ScsiDispatchCmdTimeoutFtraceEvent
impl RefUnwindSafe for ScsiDispatchCmdTimeoutFtraceEvent
impl Send for ScsiDispatchCmdTimeoutFtraceEvent
impl Sync for ScsiDispatchCmdTimeoutFtraceEvent
impl Unpin for ScsiDispatchCmdTimeoutFtraceEvent
impl UnwindSafe for ScsiDispatchCmdTimeoutFtraceEvent
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