[][src]Enum pathrs::ResolverBackend

pub enum ResolverBackend {
    Kernel,
    Emulated,
}

The backend used for path resolution within a Root to get a Handle.

We don't generally recommend specifying this, since libpathrs will automatically detect the best backend for your platform (which is the value returned by Resolver::default). However, this can be useful for testing.

Variants

Kernel

Use the native openat2(2) backend (requires kernel support).

Emulated

Use the userspace "emulated" backend.

Methods

impl ResolverBackend[src]

pub fn supported(self) -> bool[src]

Checks if the resolver is supported on the current platform.

Trait Implementations

impl Clone for ResolverBackend[src]

impl Copy for ResolverBackend[src]

impl Debug for ResolverBackend[src]

impl Default for ResolverBackend[src]

impl Eq for ResolverBackend[src]

impl PartialEq<ResolverBackend> for ResolverBackend[src]

impl StructuralEq for ResolverBackend[src]

impl StructuralPartialEq for ResolverBackend[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.