#[repr(C)]pub struct nvme_fabrics_uri {
pub scheme: *mut c_char,
pub protocol: *mut c_char,
pub userinfo: *mut c_char,
pub host: *mut c_char,
pub port: c_int,
pub path_segments: *mut *mut c_char,
pub query: *mut c_char,
pub fragment: *mut c_char,
}Expand description
struct nvme_fabrics_uri - Parsed URI structure @scheme: Scheme name (typically ‘nvme’) @protocol: Optional protocol/transport (e.g. ‘tcp’) @userinfo: Optional user information component of the URI authority @host: Host transport address @port: The port subcomponent or 0 if not specified @path_segments: NULL-terminated array of path segments @query: Optional query string component (separated by ‘?’) @fragment: Optional fragment identifier component (separated by ‘#’)
Fields§
§scheme: *mut c_char§protocol: *mut c_char§userinfo: *mut c_char§host: *mut c_char§port: c_int§path_segments: *mut *mut c_char§query: *mut c_char§fragment: *mut c_charTrait Implementations§
Source§impl Clone for nvme_fabrics_uri
impl Clone for nvme_fabrics_uri
Source§fn clone(&self) -> nvme_fabrics_uri
fn clone(&self) -> nvme_fabrics_uri
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 nvme_fabrics_uri
impl Debug for nvme_fabrics_uri
Source§impl Default for nvme_fabrics_uri
impl Default for nvme_fabrics_uri
impl Copy for nvme_fabrics_uri
Auto Trait Implementations§
impl Freeze for nvme_fabrics_uri
impl RefUnwindSafe for nvme_fabrics_uri
impl !Send for nvme_fabrics_uri
impl !Sync for nvme_fabrics_uri
impl Unpin for nvme_fabrics_uri
impl UnsafeUnpin for nvme_fabrics_uri
impl UnwindSafe for nvme_fabrics_uri
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