pub struct BackendInfo {
pub name: &'static str,
pub kernel: String,
pub features: BackendFeatures,
}Expand description
What a backend can enforce on the current kernel/host.
Fields§
§name: &'static strBackend identifier; matches SandboxBackend::name.
kernel: StringKernel version string for diagnostics; e.g. “Darwin 24.6.0” or “Linux 6.8.0”.
features: BackendFeaturesFeature flags resolved from the live kernel probe.
Trait Implementations§
Source§impl Clone for BackendInfo
impl Clone for BackendInfo
Source§fn clone(&self) -> BackendInfo
fn clone(&self) -> BackendInfo
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 Freeze for BackendInfo
impl RefUnwindSafe for BackendInfo
impl Send for BackendInfo
impl Sync for BackendInfo
impl Unpin for BackendInfo
impl UnsafeUnpin for BackendInfo
impl UnwindSafe for BackendInfo
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