pub struct KeepAliveHandle { /* private fields */ }Expand description
A keep-alive request bound to the lazy-list row it was acquired in. See the module docs.
Implementations§
Source§impl KeepAliveHandle
impl KeepAliveHandle
Sourcepub fn acquire() -> Option<Self>
pub fn acquire() -> Option<Self>
A handle bound to the lazy-list row being built or rebuilt right now —
call it from View::build (or rebuild). None outside every lazy
list’s row, where keep-alive means nothing. The handle starts holding no
request.
Trait Implementations§
Source§impl Drop for KeepAliveHandle
impl Drop for KeepAliveHandle
Auto Trait Implementations§
impl !RefUnwindSafe for KeepAliveHandle
impl !Send for KeepAliveHandle
impl !Sync for KeepAliveHandle
impl !UnwindSafe for KeepAliveHandle
impl Freeze for KeepAliveHandle
impl Unpin for KeepAliveHandle
impl UnsafeUnpin for KeepAliveHandle
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
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.