pub struct TestFixtureBuilder { /* private fields */ }Implementations§
Source§impl TestFixtureBuilder
impl TestFixtureBuilder
pub fn new(fshost_component_name: &'static str, storage_host: bool) -> Self
pub fn fshost(&mut self) -> &mut FshostBuilder
pub fn with_disk(&mut self) -> &mut DiskBuilder
pub fn with_extra_disk(&mut self) -> &mut DiskBuilder
pub fn with_uninitialized_disk(self) -> Self
pub fn with_disk_from(self, disk: Disk) -> Self
pub fn with_zbi_ramdisk(&mut self) -> &mut DiskBuilder
pub fn no_fuchsia_boot(self) -> Self
pub fn with_device_config(self, device_config: Vec<BlockDeviceConfig>) -> Self
pub fn with_crypt_policy(self, policy: Policy) -> Self
pub fn force_fxfs_provisioner_failure(self) -> Self
pub async fn build(self) -> TestFixture
Auto Trait Implementations§
impl Freeze for TestFixtureBuilder
impl RefUnwindSafe for TestFixtureBuilder
impl Send for TestFixtureBuilder
impl Sync for TestFixtureBuilder
impl Unpin for TestFixtureBuilder
impl UnwindSafe for TestFixtureBuilder
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, 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> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]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