Struct fshost_test_fixture::fshost_builder::FshostBuilder
source · 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 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