pub enum Implementation {
CppBlobfs,
Fxblob,
}
Expand description
The blob filesystem implementation to use.
Variants§
Implementations§
Source§impl Implementation
impl Implementation
Sourcepub fn from_env() -> Self
pub fn from_env() -> Self
The production blobfs implementation (and downstream decisions like whether pkg-cache should use /blob or fuchsia.fxfs/BlobCreator to write blobs) is determined by a GN variable. This function returns the implementation determined by said GN variable, so that clients inheriting production configs can create a BlobfsRamdisk backed by the appropriate implementation.
Trait Implementations§
Source§impl Clone for Implementation
impl Clone for Implementation
Source§fn clone(&self) -> Implementation
fn clone(&self) -> Implementation
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 moreSource§impl Debug for Implementation
impl Debug for Implementation
Source§impl PartialEq for Implementation
impl PartialEq for Implementation
impl Copy for Implementation
impl Eq for Implementation
impl StructuralPartialEq for Implementation
Auto Trait Implementations§
impl Freeze for Implementation
impl RefUnwindSafe for Implementation
impl Send for Implementation
impl Sync for Implementation
impl Unpin for Implementation
impl UnwindSafe for Implementation
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)