#[repr(transparent)]pub struct IscsiProtocol(pub u16);
Expand description
iSCSI network protocol.
Tuple Fields§
§0: u16
Implementations§
source§impl IscsiProtocol
impl IscsiProtocol
sourcepub const TCP: IscsiProtocol = _
pub const TCP: IscsiProtocol = _
TCP.
Trait Implementations§
source§impl Clone for IscsiProtocol
impl Clone for IscsiProtocol
source§fn clone(&self) -> IscsiProtocol
fn clone(&self) -> IscsiProtocol
Returns a copy 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 Debug for IscsiProtocol
impl Debug for IscsiProtocol
source§impl Hash for IscsiProtocol
impl Hash for IscsiProtocol
source§impl Ord for IscsiProtocol
impl Ord for IscsiProtocol
source§fn cmp(&self, other: &IscsiProtocol) -> Ordering
fn cmp(&self, other: &IscsiProtocol) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for IscsiProtocol
impl PartialEq for IscsiProtocol
source§impl PartialOrd for IscsiProtocol
impl PartialOrd for IscsiProtocol
impl Copy for IscsiProtocol
impl Eq for IscsiProtocol
impl StructuralPartialEq for IscsiProtocol
Auto Trait Implementations§
impl Freeze for IscsiProtocol
impl RefUnwindSafe for IscsiProtocol
impl Send for IscsiProtocol
impl Sync for IscsiProtocol
impl Unpin for IscsiProtocol
impl UnwindSafe for IscsiProtocol
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)