pub enum FileArg {
StdHandle,
File(PathBuf),
}
Expand description
Possible file input (either a file name or -
)
Variants
StdHandle
equal to - (so stdin or stdout)
File(PathBuf)
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FileArg
impl Send for FileArg
impl Sync for FileArg
impl Unpin for FileArg
impl UnwindSafe for FileArg
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more