#[repr(u8)]pub enum Opcode {
Show 16 variants
NopOut = 0,
ScsiCommandReq = 1,
ScsiTaskMgmtReq = 2,
LoginReq = 3,
TextReq = 4,
ScsiDataOut = 5,
LogoutReq = 6,
NopIn = 32,
ScsiCommandResp = 33,
ScsiTaskMgmtResp = 34,
LoginResp = 35,
TextResp = 36,
ScsiDataIn = 37,
LogoutResp = 38,
ReadyToTransfer = 49,
Reject = 63,
}Expand description
All op-codes defined by RFC 3720 & RFC 7143 (§ 9.1).
Variants§
NopOut = 0
ScsiCommandReq = 1
ScsiTaskMgmtReq = 2
LoginReq = 3
TextReq = 4
ScsiDataOut = 5
LogoutReq = 6
NopIn = 32
ScsiCommandResp = 33
ScsiTaskMgmtResp = 34
LoginResp = 35
TextResp = 36
ScsiDataIn = 37
LogoutResp = 38
ReadyToTransfer = 49
Reject = 63
Implementations§
Trait Implementations§
impl Eq for Opcode
impl StructuralPartialEq for Opcode
Auto Trait Implementations§
impl Freeze for Opcode
impl RefUnwindSafe for Opcode
impl Send for Opcode
impl Sync for Opcode
impl Unpin for Opcode
impl UnsafeUnpin for Opcode
impl UnwindSafe for Opcode
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.