pub enum Source {
Handle(Uuid),
Store,
Disk,
AnotherPage,
}Expand description
Who made a change the store is telling people about.
Variants§
Handle(Uuid)
A handle in this process, by the id its writes carry.
Store
A write through the store’s own API, with no handle behind it.
Disk
The file was edited outside this process, and the watcher read it.
AnotherPage
Another page of the same site wrote to the browser’s storage, and the browser announced it here.
Implementations§
Trait Implementations§
impl Copy for Source
impl Eq for Source
impl StructuralPartialEq for Source
Auto Trait Implementations§
impl Freeze for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnsafeUnpin for Source
impl UnwindSafe for Source
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