pub struct PagerThread<S: ?Sized, D: DeliveryHandler> { /* private fields */ }Expand description
An RAII guard for the background pager thread spawned by Files::spawn_pager_thread.
The thread services page requests for as long as this guard is kept alive, and stops when this guard is dropped.
Trait Implementations§
Source§impl<S: ?Sized, D: DeliveryHandler> Drop for PagerThread<S, D>
impl<S: ?Sized, D: DeliveryHandler> Drop for PagerThread<S, D>
Auto Trait Implementations§
impl<S, D> !RefUnwindSafe for PagerThread<S, D>
impl<S, D> !UnwindSafe for PagerThread<S, D>
impl<S, D> Freeze for PagerThread<S, D>where
S: ?Sized,
impl<S, D> Send for PagerThread<S, D>
impl<S, D> Sync for PagerThread<S, D>
impl<S, D> Unpin for PagerThread<S, D>where
S: ?Sized,
impl<S, D> UnsafeUnpin for PagerThread<S, D>where
S: ?Sized,
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, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
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 more