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:/tmpyields paths with/, while watchingC:\tmpyields 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>