pub struct Features {Show 15 fields
pub kernel: KernelFeatures,
pub selinux: SELinuxFeature,
pub system_limits: SystemLimits,
pub enable_visual_debugging: bool,
pub initial_view_id_annotation: String,
pub container: bool,
pub test_data: bool,
pub custom_artifacts: bool,
pub android_serialno: bool,
pub rootfs_rw: bool,
pub enable_utc_time_adjustment: bool,
pub android_bootreason: bool,
pub additional_mounts: Option<Vec<String>>,
pub mmcblk_stub: bool,
pub unified_tracing: bool,
}Expand description
A collection of parsed features, and their arguments.
Fields§
§kernel: KernelFeaturesFeatures that must be available to the kernel after initialization.
selinux: SELinuxFeatureSELinux configuration.
system_limits: SystemLimitsLimits value passed to the kernel during the initialization.
enable_visual_debugging: boolThis controls whether or not the default framebuffer background is black or colorful, to aid debugging.
initial_view_id_annotation: StringThe value of the initial view ID annotation.
container: boolInclude the /container directory in the root file system.
test_data: boolInclude the /test_data directory in the root file system.
custom_artifacts: boolInclude the /custom_artifacts directory in the root file system.
android_serialno: boolWhether to provide android with a serial number.
rootfs_rw: boolWhether to allow the root filesystem to be read/write.
enable_utc_time_adjustment: bool§android_bootreason: boolWhether to add android bootreason to kernel cmdline.
additional_mounts: Option<Vec<String>>§mmcblk_stub: boolAdd a stub block device entry for mmcblk0. This is required for certain containers that query certain functionality based on block device naming.
unified_tracing: boolWhether to initialize unified tracing with a Fuchsia trace observer.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Features
impl !RefUnwindSafe for Features
impl Send for Features
impl Sync for Features
impl Unpin for Features
impl UnsafeUnpin for Features
impl UnwindSafe for Features
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
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
fn fidl_into_native(self) -> Box<N>
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
T to [Self]§impl<T> IntoAny for T
impl<T> IntoAny for T
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> ⓘ
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> ⓘ
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