pub enum FileEvent {
Created {
path: String,
},
Modified {
path: String,
},
Deleted {
path: String,
},
Renamed {
from: String,
to: String,
},
}Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FileEvent
impl<'de> Deserialize<'de> for FileEvent
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 Into<IntersticeValue> for FileEvent
impl Into<IntersticeValue> for FileEvent
Source§fn into(self) -> IntersticeValue
fn into(self) -> IntersticeValue
Converts this type into the (usually inferred) input type.
Source§impl TryFrom<IntersticeValue> for FileEvent
impl TryFrom<IntersticeValue> for FileEvent
Source§type Error = IntersticeAbiError
type Error = IntersticeAbiError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for FileEvent
impl RefUnwindSafe for FileEvent
impl Send for FileEvent
impl Sync for FileEvent
impl Unpin for FileEvent
impl UnsafeUnpin for FileEvent
impl UnwindSafe for FileEvent
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