#[repr(C)]pub enum LinkType {
Show 13 variants
NoSupport = -2,
Unknown = -1,
Fc = 0,
Ssa = 2,
Sbp = 3,
Srp = 4,
Iscsi = 5,
Sas = 6,
Adt = 7,
Ata = 8,
Usb = 9,
Sop = 10,
Pcie = 11,
}
Expand description
Possible values of link type.
Variants§
NoSupport = -2
No support
Unknown = -1
Unknown
Fc = 0
Fibre channel
Ssa = 2
Serial Storage Architecture, old IBM tech.
Sbp = 3
Serial Bus Protocol, used by IEEE 1394
Srp = 4
SCSI RDMA Protocol
Iscsi = 5
Internet Small Computer System Interface
Sas = 6
Serial attached SCSI
Adt = 7
Automation/Drive Interface Transport Protocol, often used by Tape.
Ata = 8
PATA/IDE or SATA.
Usb = 9
Sop = 10
SCSI over PCI-e
Pcie = 11
PCI-e, e.g. NVMe
Trait Implementations§
impl Copy for LinkType
impl Eq for LinkType
impl StructuralPartialEq for LinkType
Auto Trait Implementations§
impl Freeze for LinkType
impl RefUnwindSafe for LinkType
impl Send for LinkType
impl Sync for LinkType
impl Unpin for LinkType
impl UnwindSafe for LinkType
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
)