[−][src]Struct etc::Etc
contains dir and file
Implementations
impl Etc
[src]
pub fn new<P>(root: P) -> Result<Etc, Error> where
P: AsRef<Path> + Sized,
[src]
P: AsRef<Path> + Sized,
Abstract an etc dir
pub fn tree(self) -> Result<Tree, Error>
[src]
Convert Etc
to Tree
Trait Implementations
impl<P> From<P> for Etc where
P: AsRef<Path> + Sized,
[src]
P: AsRef<Path> + Sized,
impl Into<String> for Etc
[src]
impl Meta for Etc
[src]
fn real_path(&self) -> Result<PathBuf, Error>
[src]
fn base(&self) -> Result<PathBuf, Error>
[src]
fn name(&self) -> Result<String, Error>
[src]
impl<'e, '_> Meta for &'_ Etc
[src]
fn real_path(&self) -> Result<PathBuf, Error>
[src]
fn base(&self) -> Result<PathBuf, Error>
[src]
fn name(&self) -> Result<String, Error>
[src]
impl<'e, '_> Meta for &'_ mut Etc
[src]
Auto Trait Implementations
impl RefUnwindSafe for Etc
impl Send for Etc
impl Sync for Etc
impl Unpin for Etc
impl UnwindSafe for Etc
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, 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>,