Struct nu_engine::filesystem::filesystem_shell::FilesystemShell [−][src]
Implementations
impl FilesystemShell
[src]
pub fn basic() -> Result<FilesystemShell, Error>
[src]
pub fn with_location(path: String) -> Result<FilesystemShell, Error>
[src]
Trait Implementations
impl Clone for FilesystemShell
[src]
fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for FilesystemShell
[src]
impl Shell for FilesystemShell
[src]
fn name(&self) -> String
[src]
fn homedir(&self) -> Option<PathBuf>
[src]
fn ls(
&self,
LsArgs { path: path, all: all, long: long, short_names: short_names, du: du }: LsArgs,
name_tag: Tag,
ctrl_c: Arc<AtomicBool>
) -> Result<OutputStream, ShellError>
[src]
&self,
LsArgs { path: path, all: all, long: long, short_names: short_names, du: du }: LsArgs,
name_tag: Tag,
ctrl_c: Arc<AtomicBool>
) -> Result<OutputStream, ShellError>
fn cd(&self, args: CdArgs, name: Tag) -> Result<OutputStream, ShellError>
[src]
fn cp(
&self,
CopyArgs { src: src, dst: dst, recursive: recursive }: CopyArgs,
name: Tag,
path: &str
) -> Result<OutputStream, ShellError>
[src]
&self,
CopyArgs { src: src, dst: dst, recursive: recursive }: CopyArgs,
name: Tag,
path: &str
) -> Result<OutputStream, ShellError>
fn mkdir(
&self,
MkdirArgs { rest: directories, show_created_paths: show_created_paths }: MkdirArgs,
name: Tag,
path: &str
) -> Result<OutputStream, ShellError>
[src]
&self,
MkdirArgs { rest: directories, show_created_paths: show_created_paths }: MkdirArgs,
name: Tag,
path: &str
) -> Result<OutputStream, ShellError>
fn mv(
&self,
MvArgs { src: src, dst: dst }: MvArgs,
_name: Tag,
path: &str
) -> Result<OutputStream, ShellError>
[src]
&self,
MvArgs { src: src, dst: dst }: MvArgs,
_name: Tag,
path: &str
) -> Result<OutputStream, ShellError>
fn rm(
&self,
RemoveArgs { rest: targets, recursive: recursive, trash: _trash, permanent: _permanent, force: _force }: RemoveArgs,
name: Tag,
path: &str
) -> Result<OutputStream, ShellError>
[src]
&self,
RemoveArgs { rest: targets, recursive: recursive, trash: _trash, permanent: _permanent, force: _force }: RemoveArgs,
name: Tag,
path: &str
) -> Result<OutputStream, ShellError>
fn path(&self) -> String
[src]
fn pwd(
&self,
args: EvaluatedWholeStreamCommandArgs
) -> Result<OutputStream, ShellError>
[src]
&self,
args: EvaluatedWholeStreamCommandArgs
) -> Result<OutputStream, ShellError>
fn set_path(&mut self, path: String)
[src]
fn open(
&self,
path: &Path,
name: Span,
with_encoding: Option<&'static Encoding>
) -> Result<BoxStream<'static, Result<StringOrBinary, ShellError>>, ShellError>
[src]
&self,
path: &Path,
name: Span,
with_encoding: Option<&'static Encoding>
) -> Result<BoxStream<'static, Result<StringOrBinary, ShellError>>, 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>
Auto Trait Implementations
impl RefUnwindSafe for FilesystemShell
[src]
impl Send for FilesystemShell
[src]
impl Sync for FilesystemShell
[src]
impl Unpin for FilesystemShell
[src]
impl UnwindSafe for FilesystemShell
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> SpannedItem for T
[src]
pub fn spanned(self, span: impl Into<Span>) -> Spanned<Self>
[src]
pub fn spanned_unknown(self) -> Spanned<Self>
[src]
impl<T> TaggedItem for T
[src]
pub fn tagged(self, tag: impl Into<Tag>) -> Tagged<Self>
[src]
pub fn tagged_unknown(self) -> Tagged<Self>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,