pub struct HostInterface<B: Bmc> { /* private fields */ }Expand description
Host Interface.
Provides functions to access host interface.
Implementations§
Source§impl<B: Bmc> HostInterface<B>
impl<B: Bmc> HostInterface<B>
Sourcepub fn raw(&self) -> Arc<HostInterfaceSchema>
pub fn raw(&self) -> Arc<HostInterfaceSchema>
Get the raw schema data for this host interface.
Sourcepub fn interface_enabled(&self) -> Option<bool>
pub fn interface_enabled(&self) -> Option<bool>
State of the interface. None means that BMC hasn’t reported
interface state or reported null.
Trait Implementations§
Source§impl<B: Bmc> Resource for HostInterface<B>
impl<B: Bmc> Resource for HostInterface<B>
Source§fn resource_ref(&self) -> &ResourceSchema
fn resource_ref(&self) -> &ResourceSchema
Required function. Must be implemented for Redfish resources.
Source§fn id(&self) -> ResourceIdRef<'_>
fn id(&self) -> ResourceIdRef<'_>
Identifier of the resource.
Source§fn name(&self) -> ResourceNameRef<'_>
fn name(&self) -> ResourceNameRef<'_>
Name of the resource.
Source§fn description(&self) -> Option<ResourceDescriptionRef<'_>>
fn description(&self) -> Option<ResourceDescriptionRef<'_>>
Description of the resource.
Auto Trait Implementations§
impl<B> Freeze for HostInterface<B>
impl<B> RefUnwindSafe for HostInterface<B>where
B: RefUnwindSafe,
impl<B> Send for HostInterface<B>
impl<B> Sync for HostInterface<B>
impl<B> Unpin for HostInterface<B>where
B: Unpin,
impl<B> UnsafeUnpin for HostInterface<B>
impl<B> UnwindSafe for HostInterface<B>where
B: UnwindSafe,
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