pub enum RocketMQRuntime {
Multi(Runtime),
}
Variants§
Implementations§
Source§impl RocketMQRuntime
impl RocketMQRuntime
pub fn get_handle(&self) -> &Handle
pub fn get_runtime(&self) -> &Runtime
pub fn shutdown(self)
pub fn shutdown_timeout(self, timeout: Duration)
pub fn schedule_at_fixed_rate<F>( &self, task: F, initial_delay: Option<Duration>, period: Duration, )
pub fn schedule_at_fixed_rate_mut<F>( &self, task: F, initial_delay: Option<Duration>, period: Duration, )
Auto Trait Implementations§
impl !Freeze for RocketMQRuntime
impl RefUnwindSafe for RocketMQRuntime
impl Send for RocketMQRuntime
impl Sync for RocketMQRuntime
impl Unpin for RocketMQRuntime
impl UnwindSafe for RocketMQRuntime
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