Enum nvme::ds::controller::properties::capabilities::ControllerPowerScope
source · pub enum ControllerPowerScope {
NotReported,
Controller,
Domain,
NVMSubSystem,
}
Variants§
Trait Implementations§
source§impl Clone for ControllerPowerScope
impl Clone for ControllerPowerScope
source§fn clone(&self) -> ControllerPowerScope
fn clone(&self) -> ControllerPowerScope
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 Specifier for ControllerPowerScope
impl Specifier for ControllerPowerScope
§type InOut = ControllerPowerScope
type InOut = ControllerPowerScope
The interface type of the specifier. Read more
source§fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>
fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>
Converts some bytes into the in-out type. Read more
source§fn from_bytes(
bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
fn from_bytes( bytes: Self::Bytes ) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
Converts the given bytes into the in-out type. Read more
impl Copy for ControllerPowerScope
Auto Trait Implementations§
impl RefUnwindSafe for ControllerPowerScope
impl Send for ControllerPowerScope
impl Sync for ControllerPowerScope
impl Unpin for ControllerPowerScope
impl UnwindSafe for ControllerPowerScope
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