pub struct LiveQueryRequests<Request> { /* private fields */ }Expand description
Changes the absolute request evaluated by a reconfigurable live query.
Implementations§
Source§impl<Request> LiveQueryRequests<Request>
impl<Request> LiveQueryRequests<Request>
Sourcepub fn set(
&self,
request: Request,
) -> Result<LiveQueryRevision, LiveQueryClosed>
pub fn set( &self, request: Request, ) -> Result<LiveQueryRevision, LiveQueryClosed>
Replace the requested value and return the revision that will deliver it.
Repeating the current request returns its existing revision. The call fails after the subscription has been dropped.
Trait Implementations§
Source§impl<Request: Clone> Clone for LiveQueryRequests<Request>
impl<Request: Clone> Clone for LiveQueryRequests<Request>
Source§fn clone(&self) -> LiveQueryRequests<Request>
fn clone(&self) -> LiveQueryRequests<Request>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<Request> Freeze for LiveQueryRequests<Request>
impl<Request> !RefUnwindSafe for LiveQueryRequests<Request>
impl<Request> Send for LiveQueryRequests<Request>
impl<Request> Sync for LiveQueryRequests<Request>
impl<Request> Unpin for LiveQueryRequests<Request>
impl<Request> UnsafeUnpin for LiveQueryRequests<Request>
impl<Request> !UnwindSafe for LiveQueryRequests<Request>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.