pub enum FileTool {
Cat,
Ls,
Stat,
Get,
Put,
Remove,
Move,
}Expand description
One standalone SMB file workflow.
Variants§
Cat
Streams a remote file to stdout.
Ls
Lists a share root or directory.
Stat
Prints metadata for one remote path.
Get
Downloads one remote file to a local path.
Put
Uploads one local file to a remote path.
Remove
Removes one remote file.
Move
Renames one remote path within a share.
Trait Implementations§
impl Copy for FileTool
impl Eq for FileTool
impl StructuralPartialEq for FileTool
Auto Trait Implementations§
impl Freeze for FileTool
impl RefUnwindSafe for FileTool
impl Send for FileTool
impl Sync for FileTool
impl Unpin for FileTool
impl UnsafeUnpin for FileTool
impl UnwindSafe for FileTool
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