pub struct Preload {
pub cleanup: Rc<dyn Fn()>,
pub cached: Deferred<()>,
pub complete: Deferred<()>,
}Expand description
What preload returns.
Fields§
§cleanup: Rc<dyn Fn()>Stops syncing the query (after its TTL).
cached: Deferred<()>Settles once the store holds a server-confirmed result, from this connection or an earlier one.
complete: Deferred<()>Settles once the server has confirmed the result on this connection.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Preload
impl !Send for Preload
impl !Sync for Preload
impl !UnwindSafe for Preload
impl Forget for Preload
impl Freeze for Preload
impl Move for Preload
impl Unpin for Preload
impl UnsafeUnpin for Preload
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