#[repr(C)]pub struct nbft_info_host {
pub id: *mut c_uchar,
pub nqn: *mut c_char,
pub host_id_configured: bool,
pub host_nqn_configured: bool,
pub primary: nbft_info_primary_admin_host_flag,
}Expand description
struct nbft_info_host - Host Descriptor @id: Host ID (raw UUID, length = 16 bytes). @nqn: Host NQN. @host_id_configured: HostID Configured Flag: value of True indicates that @id contains administratively-configured value, or driver default value if False. @host_nqn_configured: Host NQN Configured Flag: value of True indicates that @nqn contains administratively-configured value, or driver default value if False. @primary: Primary Administrative Host Descriptor, see &enum nbft_info_primary_admin_host_flag.
Fields§
§id: *mut c_uchar§nqn: *mut c_char§host_id_configured: bool§host_nqn_configured: bool§primary: nbft_info_primary_admin_host_flagTrait Implementations§
Source§impl Clone for nbft_info_host
impl Clone for nbft_info_host
Source§fn clone(&self) -> nbft_info_host
fn clone(&self) -> nbft_info_host
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 nbft_info_host
impl Debug for nbft_info_host
Source§impl Default for nbft_info_host
impl Default for nbft_info_host
impl Copy for nbft_info_host
Auto Trait Implementations§
impl Freeze for nbft_info_host
impl RefUnwindSafe for nbft_info_host
impl !Send for nbft_info_host
impl !Sync for nbft_info_host
impl Unpin for nbft_info_host
impl UnsafeUnpin for nbft_info_host
impl UnwindSafe for nbft_info_host
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