pub enum Message {
Progress {
n_total: usize,
n_done: Option<usize>,
dir: Option<AbsPathBuf>,
config_version: u32,
},
Loaded {
files: Vec<(AbsPathBuf, Option<Vec<u8>>)>,
},
Changed {
files: Vec<(AbsPathBuf, Option<Vec<u8>>)>,
},
}
Expand description
Message about an action taken by a Handle
.
Variants§
Progress
Fields
§
dir: Option<AbsPathBuf>
The dir being loaded, None
if its for a file.
Indicate a gradual progress.
This is supposed to be the number of loaded files.
Loaded
The handle loaded the following files’ content for the first time.
Changed
The handle loaded the following files’ content.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
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