Struct nu_engine::filesystem::filesystem_shell::FilesystemShell
source · [−]pub struct FilesystemShell { /* private fields */ }Implementations
pub fn with_location(
path: String,
mode: FilesystemShellMode
) -> Result<FilesystemShell, Error>
Trait Implementations
fn ls(
&self,
_: LsArgs,
name_tag: Tag,
ctrl_c: Arc<AtomicBool>
) -> Result<ActionStream, ShellError>
fn open(
&self,
path: &Path,
name: Span,
with_encoding: Option<&'static Encoding>
) -> Result<Box<dyn Iterator<Item = Result<StringOrBinary, ShellError>> + Sync + Send>, ShellError>
fn save(
&mut self,
full_path: &Path,
save_data: &[u8],
name: Span,
append: bool
) -> Result<OutputStream, ShellError>
Auto Trait Implementations
impl RefUnwindSafe for FilesystemShell
impl Send for FilesystemShell
impl Sync for FilesystemShell
impl Unpin for FilesystemShell
impl UnwindSafe for FilesystemShell
Blanket Implementations
Mutably borrows from an owned value. Read more