pub struct PlatformSupport {
pub target_triple: Option<String>,
pub os: Option<String>,
pub arch: Option<String>,
pub allocator: CapabilityStatus,
pub ebpf: CapabilityStatus,
pub numa: CapabilityStatus,
}Expand description
Platform support information.
Fields§
§target_triple: Option<String>Target triple (e.g., x86_64-unknown-linux-gnu).
os: Option<String>Operating system.
arch: Option<String>Architecture.
allocator: CapabilityStatusMemory allocator capability.
ebpf: CapabilityStatuseBPF support.
numa: CapabilityStatusNUMA support.
Trait Implementations§
Source§impl Clone for PlatformSupport
impl Clone for PlatformSupport
Source§fn clone(&self) -> PlatformSupport
fn clone(&self) -> PlatformSupport
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 PlatformSupport
impl Debug for PlatformSupport
Source§impl Default for PlatformSupport
impl Default for PlatformSupport
Source§fn default() -> PlatformSupport
fn default() -> PlatformSupport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PlatformSupport
impl<'de> Deserialize<'de> for PlatformSupport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PlatformSupport
Source§impl PartialEq for PlatformSupport
impl PartialEq for PlatformSupport
Source§impl Serialize for PlatformSupport
impl Serialize for PlatformSupport
impl StructuralPartialEq for PlatformSupport
Auto Trait Implementations§
impl Freeze for PlatformSupport
impl RefUnwindSafe for PlatformSupport
impl Send for PlatformSupport
impl Sync for PlatformSupport
impl Unpin for PlatformSupport
impl UnsafeUnpin for PlatformSupport
impl UnwindSafe for PlatformSupport
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