Struct CallService
pub struct CallService {
pub(crate) name: Symbol,
pub(crate) input: Box<[(Symbol, Expr)]>,
}Fields§
§name: Symbol§input: Box<[(Symbol, Expr)]>Implementations§
§impl CallService
impl CallService
async fn execute(&self, ctx: &ScriptCtx<'_>) -> ControlFlow
fn get(&self, key: &Symbol) -> Option<&Expr>
fn check_signature( &self, registry: &Core, builder: &mut FieldsSigBuilder, ) -> Result<ObjectSignature>
Auto Trait Implementations§
impl Freeze for CallService
impl RefUnwindSafe for CallService
impl Send for CallService
impl Sync for CallService
impl Unpin for CallService
impl UnwindSafe for CallService
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