pub struct B2Thread { /* private fields */ }
Trait Implementations§
Source§impl BackendThread for B2Thread
impl BackendThread for B2Thread
fn remove_dir_all(&mut self, path: PathBuf) -> Result<()>
fn rename(&mut self, src_path: PathBuf, dst_path: PathBuf) -> Result<()>
fn write(&mut self, path: PathBuf, sg: SGData, idempotent: bool) -> Result<()>
fn read(&mut self, path: PathBuf) -> Result<SGData>
fn remove(&mut self, path: PathBuf) -> Result<()>
fn read_metadata(&mut self, path: PathBuf) -> Result<Metadata>
fn list(&mut self, path: PathBuf) -> Result<Vec<PathBuf>>
fn list_recursively(&mut self, path: PathBuf, tx: Sender<Result<Vec<PathBuf>>>)
Auto Trait Implementations§
impl !Freeze for B2Thread
impl !RefUnwindSafe for B2Thread
impl Send for B2Thread
impl !Sync for B2Thread
impl Unpin for B2Thread
impl !UnwindSafe for B2Thread
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