pub struct LocalRuntimeUnitStatus { /* private fields */ }Implementations§
Source§impl LocalRuntimeUnitStatus
impl LocalRuntimeUnitStatus
pub fn cpu<T>(self, value: T) -> Self
pub fn kind<T>(self, value: T) -> Self
pub fn memory<T>(self, value: T) -> Self
pub fn name<T>(self, value: T) -> Self
pub fn phase<T>(self, value: T) -> Self
pub fn pid<T>(self, value: T) -> Self
pub fn ready<T>(self, value: T) -> Self
pub fn restart_count<T>(self, value: T) -> Self
pub fn unit_id<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for LocalRuntimeUnitStatus
impl Clone for LocalRuntimeUnitStatus
Source§fn clone(&self) -> LocalRuntimeUnitStatus
fn clone(&self) -> LocalRuntimeUnitStatus
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 LocalRuntimeUnitStatus
impl Debug for LocalRuntimeUnitStatus
Source§impl Default for LocalRuntimeUnitStatus
impl Default for LocalRuntimeUnitStatus
Source§impl From<LocalRuntimeUnitStatus> for LocalRuntimeUnitStatus
impl From<LocalRuntimeUnitStatus> for LocalRuntimeUnitStatus
Source§fn from(value: LocalRuntimeUnitStatus) -> Self
fn from(value: LocalRuntimeUnitStatus) -> Self
Converts to this type from the input type.
Source§impl TryFrom<LocalRuntimeUnitStatus> for LocalRuntimeUnitStatus
impl TryFrom<LocalRuntimeUnitStatus> for LocalRuntimeUnitStatus
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: LocalRuntimeUnitStatus) -> Result<Self, ConversionError>
fn try_from(value: LocalRuntimeUnitStatus) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for LocalRuntimeUnitStatus
impl RefUnwindSafe for LocalRuntimeUnitStatus
impl Send for LocalRuntimeUnitStatus
impl Sync for LocalRuntimeUnitStatus
impl Unpin for LocalRuntimeUnitStatus
impl UnsafeUnpin for LocalRuntimeUnitStatus
impl UnwindSafe for LocalRuntimeUnitStatus
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