pub struct ScsiDispatchCmdErrorFtraceEvent {Show 13 fields
pub host_no: Option<u32>,
pub channel: Option<u32>,
pub id: Option<u32>,
pub lun: Option<u32>,
pub rtn: 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>,
}Fields§
§host_no: Option<u32>§channel: Option<u32>§id: Option<u32>§lun: Option<u32>§rtn: 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>Implementations§
Source§impl ScsiDispatchCmdErrorFtraceEvent
impl ScsiDispatchCmdErrorFtraceEvent
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 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 ScsiDispatchCmdErrorFtraceEvent
impl Clone for ScsiDispatchCmdErrorFtraceEvent
Source§fn clone(&self) -> ScsiDispatchCmdErrorFtraceEvent
fn clone(&self) -> ScsiDispatchCmdErrorFtraceEvent
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 ScsiDispatchCmdErrorFtraceEvent
impl Message for ScsiDispatchCmdErrorFtraceEvent
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 ScsiDispatchCmdErrorFtraceEvent
impl PartialEq for ScsiDispatchCmdErrorFtraceEvent
Source§fn eq(&self, other: &ScsiDispatchCmdErrorFtraceEvent) -> bool
fn eq(&self, other: &ScsiDispatchCmdErrorFtraceEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ScsiDispatchCmdErrorFtraceEvent
Auto Trait Implementations§
impl Freeze for ScsiDispatchCmdErrorFtraceEvent
impl RefUnwindSafe for ScsiDispatchCmdErrorFtraceEvent
impl Send for ScsiDispatchCmdErrorFtraceEvent
impl Sync for ScsiDispatchCmdErrorFtraceEvent
impl Unpin for ScsiDispatchCmdErrorFtraceEvent
impl UnwindSafe for ScsiDispatchCmdErrorFtraceEvent
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