Struct nu_engine::filesystem::filesystem_shell::FilesystemShell [−][src]
pub struct FilesystemShell { /* fields omitted */ }
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
) -> 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
type Output = T
type Output = T
Should always be Self