pub struct StrFunction { /* private fields */ }
Expand description
The STR
function.
Implementations§
Trait Implementations§
Source§impl Callable for StrFunction
impl Callable for StrFunction
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 StrFunction
impl RefUnwindSafe for StrFunction
impl Send for StrFunction
impl Sync for StrFunction
impl Unpin for StrFunction
impl UnwindSafe for StrFunction
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