[][src]Struct posish::path::DecInt

pub struct DecInt { /* fields omitted */ }

Format an integer into a decimal Path component, without constructing a temporary PathBuf or String. This is used for opening paths such as /proc/self/fd/<fd> on Linux.

Implementations

impl DecInt[src]

pub fn new<Int: Integer>(i: Int) -> Self[src]

Construct a new path component from an integer.

pub fn from_fd<Fd: AsRawFd>(fd: &Fd) -> Self[src]

Construct a new path component from a file descriptor.

Trait Implementations

impl Arg for DecInt[src]

impl AsRef<Path> for DecInt[src]

impl Deref for DecInt[src]

type Target = Path

The resulting type after dereferencing.

Auto Trait Implementations

impl RefUnwindSafe for DecInt

impl Send for DecInt

impl Sync for DecInt

impl Unpin for DecInt

impl UnwindSafe for DecInt

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.