pub type FileHost = Host<FileStore<HostState>>;Expand description
A host provider that keeps its state in one JSON document, so several onevcs
invocations see one another’s change requests.
Aliased Type§
pub struct FileHost { /* private fields */ }Implementations§
Source§impl FileHost
impl FileHost
Sourcepub fn create(path: impl Into<PathBuf>) -> Result<Self>
pub fn create(path: impl Into<PathBuf>) -> Result<Self>
A host keeping its state at path: whatever is already there, or nothing
opened against it.
Attaching rather than replacing, so a second host over the same path answers about the change requests the first one opened.