pub struct CosFunction { /* private fields */ }
Expand description
The COS
function.
Implementations§
Trait Implementations§
Source§impl Callable for CosFunction
impl Callable for CosFunction
Source§fn metadata(&self) -> &CallableMetadata
fn metadata(&self) -> &CallableMetadata
Returns the metadata for this function. Read more
Source§fn exec<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
scope: Scope<'life1>,
_machine: &'life2 mut Machine,
) -> Pin<Box<dyn Future<Output = CallResult> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn exec<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
scope: Scope<'life1>,
_machine: &'life2 mut Machine,
) -> Pin<Box<dyn Future<Output = CallResult> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Executes the function. Read more
Auto Trait Implementations§
impl Freeze for CosFunction
impl !RefUnwindSafe for CosFunction
impl !Send for CosFunction
impl !Sync for CosFunction
impl Unpin for CosFunction
impl !UnwindSafe for CosFunction
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