pub struct ScheduleExecutor { /* private fields */ }Expand description
SQL 스케줄 실행 엔진
Implementations§
Source§impl ScheduleExecutor
impl ScheduleExecutor
Sourcepub fn unregister(&self, name: &str) -> DbxResult<()>
pub fn unregister(&self, name: &str) -> DbxResult<()>
스케줄 해제
Sourcepub fn list_schedules(&self) -> Vec<String>
pub fn list_schedules(&self) -> Vec<String>
등록된 모든 스케줄 목록
Sourcepub fn get_schedule(&self, name: &str) -> Option<Schedule>
pub fn get_schedule(&self, name: &str) -> Option<Schedule>
특정 스케줄 조회
Sourcepub fn stop_scheduler(&self) -> DbxResult<()>
pub fn stop_scheduler(&self) -> DbxResult<()>
백그라운드 스케줄러 중지
Sourcepub fn is_scheduler_running(&self) -> bool
pub fn is_scheduler_running(&self) -> bool
스케줄러가 실행 중인지 확인
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ScheduleExecutor
impl RefUnwindSafe for ScheduleExecutor
impl Send for ScheduleExecutor
impl Sync for ScheduleExecutor
impl Unpin for ScheduleExecutor
impl UnsafeUnpin for ScheduleExecutor
impl UnwindSafe for ScheduleExecutor
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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