pub struct PagerHandle(/* private fields */);Expand description
Cheap clone of the pager handle (an Arc).
Implementations§
Source§impl PagerHandle
impl PagerHandle
Sourcepub fn is_shutting_down(&self) -> bool
pub fn is_shutting_down(&self) -> bool
true if the supervisor has requested shutdown.
Sourcepub fn poll_interval(&self) -> Duration
pub fn poll_interval(&self) -> Duration
Borrow the poll interval.
Trait Implementations§
Source§impl Clone for PagerHandle
impl Clone for PagerHandle
Source§fn clone(&self) -> PagerHandle
fn clone(&self) -> PagerHandle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Freeze for PagerHandle
impl !RefUnwindSafe for PagerHandle
impl Send for PagerHandle
impl Sync for PagerHandle
impl Unpin for PagerHandle
impl UnsafeUnpin for PagerHandle
impl !UnwindSafe for PagerHandle
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