Struct virtual_fs::builder::RootFileSystemBuilder
source · pub struct RootFileSystemBuilder { /* private fields */ }
Implementations§
source§impl RootFileSystemBuilder
impl RootFileSystemBuilder
pub fn new() -> Self
pub fn with_stdin(self, file: Box<dyn VirtualFile + Send + Sync>) -> Self
pub fn with_stdout(self, file: Box<dyn VirtualFile + Send + Sync>) -> Self
pub fn with_stderr(self, file: Box<dyn VirtualFile + Send + Sync>) -> Self
pub fn with_tty(self, file: Box<dyn VirtualFile + Send + Sync>) -> Self
pub fn default_root_dirs(self, val: bool) -> Self
pub fn with_tmp(self, val: bool) -> Self
pub fn build(self) -> TmpFileSystem
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RootFileSystemBuilder
impl !RefUnwindSafe for RootFileSystemBuilder
impl Send for RootFileSystemBuilder
impl Sync for RootFileSystemBuilder
impl Unpin for RootFileSystemBuilder
impl !UnwindSafe for RootFileSystemBuilder
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