pub struct FshostBuilder { /* private fields */ }
Expand description
Builder for the fshost component. This handles configuring the fshost component to use and structured config overrides to set, as well as setting up the expected protocols to be routed between the realm builder root and the fshost child when the test realm is built.
Any desired additional config overrides should be added to this builder. New routes for exposed
capabilities from the fshost component or offered capabilities to the fshost component should
be added to the FshostBuilder::build
function below.
Implementations§
Source§impl FshostBuilder
impl FshostBuilder
pub fn new(component_name: &'static str) -> FshostBuilder
pub fn create_starnix_volume_crypt(&mut self) -> &mut Self
pub fn set_config_value( &mut self, key: &'static str, value: impl IntoValueSpec, ) -> &mut Self
Trait Implementations§
Source§impl Clone for FshostBuilder
impl Clone for FshostBuilder
Source§fn clone(&self) -> FshostBuilder
fn clone(&self) -> FshostBuilder
Returns a copy 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 FshostBuilder
impl RefUnwindSafe for FshostBuilder
impl Send for FshostBuilder
impl Sync for FshostBuilder
impl Unpin for FshostBuilder
impl UnwindSafe for FshostBuilder
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, 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<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>
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