Trait ra_ap_vfs::loader::Handle [−][src]
pub trait Handle: Debug { fn spawn(sender: Sender) -> Self
where
Self: Sized; fn set_config(&mut self, config: Config); fn invalidate(&mut self, path: AbsPathBuf); fn load_sync(&mut self, path: &AbsPath) -> Option<Vec<u8>>; }
Expand description
Interface for reading and watching files.
Required methods
fn set_config(&mut self, config: Config)
[src]
fn set_config(&mut self, config: Config)
[src]Set this handle’s configuration.
fn invalidate(&mut self, path: AbsPathBuf)
[src]
fn invalidate(&mut self, path: AbsPathBuf)
[src]The file’s content at path
has been modified, and should be reloaded.