Struct worker::ScheduleContext
source · pub struct ScheduleContext { /* private fields */ }
Implementations§
source§impl ScheduleContext
impl ScheduleContext
pub fn wait_until<T>(&self, handler: T)where T: Future<Output = ()> + 'static,
Trait Implementations§
source§impl Clone for ScheduleContext
impl Clone for ScheduleContext
source§fn clone(&self) -> ScheduleContext
fn clone(&self) -> ScheduleContext
Returns a copy 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 moresource§impl From<ScheduleContext> for ScheduleContext
impl From<ScheduleContext> for ScheduleContext
source§fn from(edge: EdgeScheduleContext) -> Self
fn from(edge: EdgeScheduleContext) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ScheduleContext
impl !Send for ScheduleContext
impl !Sync for ScheduleContext
impl Unpin for ScheduleContext
impl UnwindSafe for ScheduleContext
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