pub struct ProcedureExecutor { /* private fields */ }Expand description
Procedure 실행 엔진
Implementations§
Source§impl ProcedureExecutor
impl ProcedureExecutor
Sourcepub fn register(&mut self, procedure: StoredProcedure)
pub fn register(&mut self, procedure: StoredProcedure)
Procedure 등록
Sourcepub fn register_all(&mut self, procedures: Vec<StoredProcedure>)
pub fn register_all(&mut self, procedures: Vec<StoredProcedure>)
모든 Procedure 등록
Sourcepub fn unregister(&mut self, name: &str) -> bool
pub fn unregister(&mut self, name: &str) -> bool
Procedure 제거
Sourcepub fn list_procedures(&self) -> Vec<&StoredProcedure>
pub fn list_procedures(&self) -> Vec<&StoredProcedure>
등록된 모든 Procedure 조회
Sourcepub fn get(&self, name: &str) -> Option<&StoredProcedure>
pub fn get(&self, name: &str) -> Option<&StoredProcedure>
Procedure 조회
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProcedureExecutor
impl RefUnwindSafe for ProcedureExecutor
impl Send for ProcedureExecutor
impl Sync for ProcedureExecutor
impl Unpin for ProcedureExecutor
impl UnsafeUnpin for ProcedureExecutor
impl UnwindSafe for ProcedureExecutor
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