pub struct Repo { /* private fields */ }
Implementations§
Source§impl Repo
impl Repo
pub fn new() -> Self
pub fn set_encryption(&mut self, encryption: Encryption) -> Result<()>
pub fn set_compression(&mut self, compression: Compression) -> Result<()>
pub fn set_pwhash(&mut self, pwhash: PWHash)
pub fn set_compression_level(&mut self, level: i32)
pub fn set_hashing(&mut self, hashing: Hashing) -> Result<()>
pub fn use_bup_chunking(&mut self, bits: Option<u32>) -> Result<()>
pub fn use_fastcdc_chunking(&mut self, bits: Option<u32>) -> Result<()>
pub fn use_gear_chunking(&mut self, bits: Option<u32>) -> Result<()>
pub fn set_nesting(&mut self, level: u8) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Repo
impl RefUnwindSafe for Repo
impl Send for Repo
impl Sync for Repo
impl Unpin for Repo
impl UnwindSafe for Repo
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