Enum WindowsPathSeparatorStyle

pub enum WindowsPathSeparatorStyle

Controls how path separators are represented in emitted event paths on Windows.

This applies to ReadDirectoryChangesWatcher.

Variants

Auto

Infer separator style from each watched input path.

For example, watching C:/tmp yields paths with /, while watching C:\tmp yields paths with \.

Slash

Always use / in emitted event paths.

Backslash

Always use \ in emitted event paths.

Trait Implementations

impl Clone for WindowsPathSeparatorStyle

fn clone(&self) -> Self

impl Copy for WindowsPathSeparatorStyle

impl Debug for WindowsPathSeparatorStyle

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Default for WindowsPathSeparatorStyle

fn default() -> Self

impl Eq for WindowsPathSeparatorStyle

impl Hash for WindowsPathSeparatorStyle

fn hash<__H: Hasher>(&self, state: &mut __H)

impl Ord for WindowsPathSeparatorStyle

fn cmp(&self, other: &Self) -> Ordering

impl PartialEq for WindowsPathSeparatorStyle

fn eq(&self, other: &Self) -> bool

impl PartialOrd for WindowsPathSeparatorStyle

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

impl StructuralPartialEq for WindowsPathSeparatorStyle

Auto Trait Implementations

impl Freeze for WindowsPathSeparatorStyle

impl RefUnwindSafe for WindowsPathSeparatorStyle

impl Send for WindowsPathSeparatorStyle

impl Sync for WindowsPathSeparatorStyle

impl Unpin for WindowsPathSeparatorStyle

impl UnsafeUnpin for WindowsPathSeparatorStyle

impl UnwindSafe for WindowsPathSeparatorStyle

Blanket Implementations

impl<T> Any for WindowsPathSeparatorStyle where T: 'static + ?Sized,

impl<T> Borrow<T> for WindowsPathSeparatorStyle where T: ?Sized,

impl<T> BorrowMut<T> for WindowsPathSeparatorStyle where T: ?Sized,

impl<T> CloneToUninit for WindowsPathSeparatorStyle where T: Clone,

impl<T> From<T> for WindowsPathSeparatorStyle

impl<T> ToOwned for WindowsPathSeparatorStyle where T: Clone,

impl<T, U> Into<U> for WindowsPathSeparatorStyle where U: From<T>,

impl<T, U> TryFrom<U> for WindowsPathSeparatorStyle where U: Into<T>,

impl<T, U> TryInto<U> for WindowsPathSeparatorStyle where U: TryFrom<T>,