Struct nu_engine::filesystem::filesystem_shell::FilesystemShell [−][src]
pub struct FilesystemShell { /* fields omitted */ }
Implementations
impl FilesystemShell
[src]
impl FilesystemShell
[src]pub fn basic(mode: FilesystemShellMode) -> FilesystemShell
[src]
pub fn with_location(
path: String,
mode: FilesystemShellMode
) -> Result<FilesystemShell, Error>
[src]
path: String,
mode: FilesystemShellMode
) -> Result<FilesystemShell, Error>
Trait Implementations
impl Clone for FilesystemShell
[src]
impl Clone for FilesystemShell
[src]impl Debug for FilesystemShell
[src]
impl Debug for FilesystemShell
[src]impl Shell for FilesystemShell
[src]
impl Shell for FilesystemShell
[src]fn name(&self) -> String
[src]
fn homedir(&self) -> Option<PathBuf>
[src]
fn ls(
&self,
_: LsArgs,
name_tag: Tag,
ctrl_c: Arc<AtomicBool>
) -> Result<ActionStream, ShellError>
[src]
&self,
_: LsArgs,
name_tag: Tag,
ctrl_c: Arc<AtomicBool>
) -> Result<ActionStream, ShellError>
fn cd(&self, args: CdArgs, name: Tag) -> Result<ActionStream, ShellError>
[src]
fn cp(
&self,
_: CopyArgs,
name: Tag,
path: &str
) -> Result<ActionStream, ShellError>
[src]
&self,
_: CopyArgs,
name: Tag,
path: &str
) -> Result<ActionStream, ShellError>
fn mkdir(
&self,
_: MkdirArgs,
name: Tag,
path: &str
) -> Result<ActionStream, ShellError>
[src]
&self,
_: MkdirArgs,
name: Tag,
path: &str
) -> Result<ActionStream, ShellError>
fn mv(
&self,
_: MvArgs,
_name: Tag,
path: &str
) -> Result<ActionStream, ShellError>
[src]
&self,
_: MvArgs,
_name: Tag,
path: &str
) -> Result<ActionStream, ShellError>
fn rm(
&self,
_: RemoveArgs,
name: Tag,
path: &str
) -> Result<ActionStream, ShellError>
[src]
&self,
_: RemoveArgs,
name: Tag,
path: &str
) -> Result<ActionStream, ShellError>
fn path(&self) -> String
[src]
fn pwd(&self, args: EvaluatedCommandArgs) -> Result<ActionStream, ShellError>
[src]
fn set_path(&mut self, path: String)
[src]
fn open(
&self,
path: &Path,
name: Span,
with_encoding: Option<&'static Encoding>
) -> Result<Box<dyn Iterator<Item = Result<StringOrBinary, ShellError>> + Sync + Send>, ShellError>
[src]
&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>
[src]
&mut self,
full_path: &Path,
save_data: &[u8],
name: Span
) -> Result<OutputStream, ShellError>
fn is_interactive(&self) -> bool
[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> SpannedItem for T
[src]
impl<T> SpannedItem for T
[src]impl<T> TaggedItem for T
[src]
impl<T> TaggedItem for T
[src]impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,