pub struct FxblobInstance { /* private fields */ }Implementations§
Source§impl FxblobInstance
impl FxblobInstance
pub fn connect_to_debug(&self) -> DebugProxy
Trait Implementations§
Source§impl BlobFilesystem for FxblobInstance
impl BlobFilesystem for FxblobInstance
Source§fn blob_creator(&self) -> &BlobCreatorProxy
fn blob_creator(&self) -> &BlobCreatorProxy
Direct access to the BlobCreator protocol.
Source§fn blob_reader(&self) -> &BlobReaderProxy
fn blob_reader(&self) -> &BlobReaderProxy
Direct access to the BlobReader protocol.
Source§fn exposed_dir(&self) -> &DirectoryProxy
fn exposed_dir(&self) -> &DirectoryProxy
Returns the exposed dir of the blob volume.
Source§fn write_blob<'life0, 'life1, 'async_trait>(
&'life0 self,
blob: &'life1 DeliveryBlob,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn write_blob<'life0, 'life1, 'async_trait>(
&'life0 self,
blob: &'life1 DeliveryBlob,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Writes a blob to the filesystem.
Source§fn get_vmo<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 Hash,
) -> Pin<Box<dyn Future<Output = Vmo> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_vmo<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 Hash,
) -> Pin<Box<dyn Future<Output = Vmo> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Gets a VMO backing a blob.
fn remove_blob<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 Hash,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§impl CacheClearableFilesystem for FxblobInstance
impl CacheClearableFilesystem for FxblobInstance
Source§fn clear_cache<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn clear_cache<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Clears all cached data in the filesystem. This method is used in “cold” benchmarks to
ensure that the filesystem isn’t using cached data from the setup phase in the benchmark
phase.
Source§impl Filesystem for FxblobInstance
impl Filesystem for FxblobInstance
Source§fn shutdown<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
fn shutdown<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
Cleans up the filesystem after a benchmark has run. Filesystem is unusable after this call.
Source§fn benchmark_dir(&self) -> &Path
fn benchmark_dir(&self) -> &Path
Path to where the filesystem is located in the current process’s namespace. All benchmark
operations should happen within this directory.
Auto Trait Implementations§
impl !RefUnwindSafe for FxblobInstance
impl !UnwindSafe for FxblobInstance
impl Freeze for FxblobInstance
impl Send for FxblobInstance
impl Sync for FxblobInstance
impl Unpin for FxblobInstance
impl UnsafeUnpin for FxblobInstance
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> BoxedFilesystem for Twhere
T: Filesystem,
impl<T> BoxedFilesystem for Twhere
T: Filesystem,
Source§fn shutdown_boxed<'a>(
self: Box<T>,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'a>>where
T: 'a,
fn shutdown_boxed<'a>(
self: Box<T>,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'a>>where
T: 'a,
Filesystem::shutdown takes the filesystem by value which doesn’t work for Box<&dyn Filesystem> because the filesystem type isn’t known at compile time. Taking the filesystem
as Box<Self> works and the type of the filesystem is now known so the
Filesystem::shutdown method can be called.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
Converts the given service transport handle of type
T to [Self]§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<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