Struct asuran::repository::backend::flatfile::FlatFile [−][src]
#[repr(transparent)]pub struct FlatFile(_);
Implementations
pub fn new(
repository_path: impl AsRef<Path>,
settings: Option<ChunkSettings>,
enc_key: Option<EncryptedKey>,
key: Key,
queue_depth: usize
) -> Result<BackendHandle<FlatFile>>
pub fn new(
repository_path: impl AsRef<Path>,
settings: Option<ChunkSettings>,
enc_key: Option<EncryptedKey>,
key: Key,
queue_depth: usize
) -> Result<BackendHandle<FlatFile>>
Constructs a flatfile and wraps it
See the documentation for GenericFlatFile::new_raw
for further details
Attempts to read the key from the flatfile repo at a given path
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FlatFile
impl UnwindSafe for FlatFile
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more