pub struct SiloSnapshot {Show 13 fields
pub id: u32,
pub tier: SiloTier,
pub name: String,
pub strate_label: Option<String>,
pub state: SiloState,
pub task_count: usize,
pub mem_usage_bytes: u64,
pub mem_min_bytes: u64,
pub mem_max_bytes: u64,
pub mode: u16,
pub graphics_flags: u64,
pub graphics_max_sessions: u16,
pub graphics_session_ttl_sec: u32,
}Fields§
§id: u32§tier: SiloTier§name: String§strate_label: Option<String>§state: SiloState§task_count: usize§mem_usage_bytes: u64§mem_min_bytes: u64§mem_max_bytes: u64§mode: u16§graphics_flags: u64§graphics_max_sessions: u16§graphics_session_ttl_sec: u32Trait Implementations§
Source§impl Clone for SiloSnapshot
impl Clone for SiloSnapshot
Source§fn clone(&self) -> SiloSnapshot
fn clone(&self) -> SiloSnapshot
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for SiloSnapshot
impl RefUnwindSafe for SiloSnapshot
impl Send for SiloSnapshot
impl Sync for SiloSnapshot
impl Unpin for SiloSnapshot
impl UnsafeUnpin for SiloSnapshot
impl UnwindSafe for SiloSnapshot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more