pub struct PowerDomainLine { /* private fields */ }Implementations§
Source§impl PowerDomainLine
impl PowerDomainLine
pub fn name(&self) -> Option<&str>
pub fn id(&self) -> PowerDomainId
pub fn power_on(&self) -> Result<(), OnProbeError>
pub fn power_off(&self) -> Result<(), OnProbeError>
pub fn is_powered(&self) -> Result<bool, OnProbeError>
Trait Implementations§
Source§impl Clone for PowerDomainLine
impl Clone for PowerDomainLine
Source§fn clone(&self) -> PowerDomainLine
fn clone(&self) -> PowerDomainLine
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for PowerDomainLine
impl !UnwindSafe for PowerDomainLine
impl Freeze for PowerDomainLine
impl Send for PowerDomainLine
impl Sync for PowerDomainLine
impl Unpin for PowerDomainLine
impl UnsafeUnpin for PowerDomainLine
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