pub enum PathWatchCondition {
Exists,
ExistsGlob,
Changed,
Modified,
DirectoryNotEmpty,
}
Expand description
Unused: condition
in PathWatch
, temporarily String
only
Variants§
Trait Implementations§
Source§impl Clone for PathWatchCondition
impl Clone for PathWatchCondition
Source§fn clone(&self) -> PathWatchCondition
fn clone(&self) -> PathWatchCondition
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PathWatchCondition
impl Debug for PathWatchCondition
Source§impl<'de> Deserialize<'de> for PathWatchCondition
impl<'de> Deserialize<'de> for PathWatchCondition
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&PathWatchCondition> for &str
impl From<&PathWatchCondition> for &str
Source§fn from(s: &PathWatchCondition) -> Self
fn from(s: &PathWatchCondition) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a PathWatchCondition> for OwnedValue
impl<'a> From<&'a PathWatchCondition> for OwnedValue
Source§fn from(value: &'a PathWatchCondition) -> Self
fn from(value: &'a PathWatchCondition) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a PathWatchCondition> for Value<'a>
impl<'a> From<&'a PathWatchCondition> for Value<'a>
Source§fn from(value: &'a PathWatchCondition) -> Self
fn from(value: &'a PathWatchCondition) -> Self
Converts to this type from the input type.
Source§impl From<PathWatchCondition> for &str
impl From<PathWatchCondition> for &str
Source§fn from(m: PathWatchCondition) -> Self
fn from(m: PathWatchCondition) -> Self
Converts to this type from the input type.
Source§impl From<PathWatchCondition> for OwnedValue
impl From<PathWatchCondition> for OwnedValue
Source§fn from(value: PathWatchCondition) -> Self
fn from(value: PathWatchCondition) -> Self
Converts to this type from the input type.
Source§impl<'a> From<PathWatchCondition> for Value<'a>
impl<'a> From<PathWatchCondition> for Value<'a>
Source§fn from(value: PathWatchCondition) -> Self
fn from(value: PathWatchCondition) -> Self
Converts to this type from the input type.
Source§impl FromStr for PathWatchCondition
impl FromStr for PathWatchCondition
Source§impl Ord for PathWatchCondition
impl Ord for PathWatchCondition
Source§fn cmp(&self, other: &PathWatchCondition) -> Ordering
fn cmp(&self, other: &PathWatchCondition) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PathWatchCondition
impl PartialEq for PathWatchCondition
Source§impl PartialOrd for PathWatchCondition
impl PartialOrd for PathWatchCondition
Source§impl Serialize for PathWatchCondition
impl Serialize for PathWatchCondition
Source§impl TryFrom<OwnedValue> for PathWatchCondition
impl TryFrom<OwnedValue> for PathWatchCondition
Source§impl<'a> TryFrom<Value<'a>> for PathWatchCondition
impl<'a> TryFrom<Value<'a>> for PathWatchCondition
Source§impl Type for PathWatchCondition
impl Type for PathWatchCondition
impl Copy for PathWatchCondition
impl Eq for PathWatchCondition
impl StructuralPartialEq for PathWatchCondition
Auto Trait Implementations§
impl Freeze for PathWatchCondition
impl RefUnwindSafe for PathWatchCondition
impl Send for PathWatchCondition
impl Sync for PathWatchCondition
impl Unpin for PathWatchCondition
impl UnwindSafe for PathWatchCondition
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
Source§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
Source§fn deserializer_for_signature(
signature: &Signature,
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
fn deserializer_for_signature( signature: &Signature, ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this parsed signature.