pub struct VfsTree {
pub root: VfsNode,
}Fields§
§root: VfsNodeImplementations§
Source§impl VfsTree
impl VfsTree
pub fn new() -> VfsTree
pub fn insert_tar_entry<X: AsyncRead + Unpin>( &mut self, entry: &Entry<X>, ) -> Result<&VfsNode>
pub fn set_disk_path(&mut self, path: &Path, disk_path: &Path) -> Result<()>
pub async fn write_to_tar<W: AsyncWrite + Unpin + Send + 'static>( &self, write: W, ) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VfsTree
impl RefUnwindSafe for VfsTree
impl Send for VfsTree
impl Sync for VfsTree
impl Unpin for VfsTree
impl UnwindSafe for VfsTree
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