Struct nvme::ds::identify::controller::ManagementEndpointCapabilities
source · pub struct ManagementEndpointCapabilities { /* private fields */ }
Implementations§
source§impl ManagementEndpointCapabilities
impl ManagementEndpointCapabilities
sourcepub const fn into_bytes(self) -> [u8; 1]
pub const fn into_bytes(self) -> [u8; 1]
sourcepub const fn from_bytes(bytes: [u8; 1]) -> Self
pub const fn from_bytes(bytes: [u8; 1]) -> Self
Converts the given bytes directly into the bitfield struct.
source§impl ManagementEndpointCapabilities
impl ManagementEndpointCapabilities
sourcepub fn pcie_management_endpoint(&self) -> <B1 as Specifier>::InOut
pub fn pcie_management_endpoint(&self) -> <B1 as Specifier>::InOut
Returns the value of pcie_management_endpoint.
sourcepub fn pcie_management_endpoint_or_err(
&self
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn pcie_management_endpoint_or_err( &self ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of pcie_management_endpoint.
#Errors
If the returned value contains an invalid bit pattern for pcie_management_endpoint.
sourcepub fn smbus_port_management_endpoint(&self) -> <B1 as Specifier>::InOut
pub fn smbus_port_management_endpoint(&self) -> <B1 as Specifier>::InOut
Returns the value of smbus_port_management_endpoint.
sourcepub fn smbus_port_management_endpoint_or_err(
&self
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn smbus_port_management_endpoint_or_err( &self ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of smbus_port_management_endpoint.
#Errors
If the returned value contains an invalid bit pattern for smbus_port_management_endpoint.
Trait Implementations§
source§impl Clone for ManagementEndpointCapabilities
impl Clone for ManagementEndpointCapabilities
source§fn clone(&self) -> ManagementEndpointCapabilities
fn clone(&self) -> ManagementEndpointCapabilities
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 Default for ManagementEndpointCapabilities
impl Default for ManagementEndpointCapabilities
source§fn default() -> ManagementEndpointCapabilities
fn default() -> ManagementEndpointCapabilities
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ManagementEndpointCapabilities
impl Send for ManagementEndpointCapabilities
impl Sync for ManagementEndpointCapabilities
impl Unpin for ManagementEndpointCapabilities
impl UnwindSafe for ManagementEndpointCapabilities
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