#[repr(u8)]pub enum LogoutResponseCode {
Success = 0,
CidNotFound = 1,
RecoveryNotSupported = 2,
CleanupFailed = 3,
}Expand description
iSCSI Logout Response Code.
Variants§
Success = 0
Connection or session closed successfully.
CidNotFound = 1
The CID was not found.
RecoveryNotSupported = 2
Connection recovery is not supported.
CleanupFailed = 3
Cleanup failed for various reasons.
Implementations§
Trait Implementations§
Source§impl Debug for LogoutResponseCode
impl Debug for LogoutResponseCode
Source§impl Default for LogoutResponseCode
impl Default for LogoutResponseCode
Source§fn default() -> LogoutResponseCode
fn default() -> LogoutResponseCode
Returns the “default value” for a type. Read more
Source§impl Display for LogoutResponseCode
impl Display for LogoutResponseCode
impl Eq for LogoutResponseCode
Source§impl From<&LogoutResponseCode> for RawLogoutResponseCode
impl From<&LogoutResponseCode> for RawLogoutResponseCode
Source§fn from(r: &LogoutResponseCode) -> Self
fn from(r: &LogoutResponseCode) -> Self
Converts to this type from the input type.
Source§impl From<LogoutResponseCode> for RawLogoutResponseCode
impl From<LogoutResponseCode> for RawLogoutResponseCode
Source§fn from(r: LogoutResponseCode) -> Self
fn from(r: LogoutResponseCode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LogoutResponseCode
impl PartialEq for LogoutResponseCode
Source§fn eq(&self, other: &LogoutResponseCode) -> bool
fn eq(&self, other: &LogoutResponseCode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LogoutResponseCode
Auto Trait Implementations§
impl Freeze for LogoutResponseCode
impl RefUnwindSafe for LogoutResponseCode
impl Send for LogoutResponseCode
impl Sync for LogoutResponseCode
impl Unpin for LogoutResponseCode
impl UnsafeUnpin for LogoutResponseCode
impl UnwindSafe for LogoutResponseCode
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.