pub struct UnknownResponseCode(pub u8);Expand description
Error type for invalid iSCSI response codes
Returned when attempting to parse an invalid or unrecognized response code from an iSCSI SCSI Command Response PDU.
Tuple Fields§
§0: u8Trait Implementations§
Source§impl Debug for UnknownResponseCode
impl Debug for UnknownResponseCode
Source§impl Display for UnknownResponseCode
impl Display for UnknownResponseCode
Source§impl Error for UnknownResponseCode
impl Error for UnknownResponseCode
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for UnknownResponseCode
impl RefUnwindSafe for UnknownResponseCode
impl Send for UnknownResponseCode
impl Sync for UnknownResponseCode
impl Unpin for UnknownResponseCode
impl UnsafeUnpin for UnknownResponseCode
impl UnwindSafe for UnknownResponseCode
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