pub struct ClockFunction { /* private fields */ }Implementations§
Source§impl ClockFunction
impl ClockFunction
pub fn new(clock: Clock, result: ClockResult) -> Self
Trait Implementations§
Source§impl ScalarFunction for ClockFunction
impl ScalarFunction for ClockFunction
fn call<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
context: &'life1 ExpressionEvaluationContext<'_>,
expression: &'life2 FunctionExpression,
args: Vec<VariableValue>,
) -> Pin<Box<dyn Future<Output = Result<VariableValue, FunctionError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl Freeze for ClockFunction
impl RefUnwindSafe for ClockFunction
impl Send for ClockFunction
impl Sync for ClockFunction
impl Unpin for ClockFunction
impl UnsafeUnpin for ClockFunction
impl UnwindSafe for ClockFunction
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