runx-runtime
runx_runtime::adapter
Structs §
SkillInvocation §
pub struct runx_runtime::adapter::SkillInvocation { /* ... */ }
Trait Implementations §
impl Borrow for SkillInvocation
borrow
fn borrow(self: &Self) -> &Timpl BorrowMut for SkillInvocation
borrow_mut
fn borrow_mut(self: &mut Self) -> &mut Timpl CloneToUninit for SkillInvocation
clone_to_uninit
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)impl Into for SkillInvocation
into
fn into(self: Self) -> UCalls U::from(self).
That is, this conversion is whatever the implementation of
chooses to do.From<T> for U
impl From for SkillInvocation
from
fn from(t: T) -> TReturns the argument unchanged.
impl TryInto for SkillInvocation
Error
try_into
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>impl TryFrom for SkillInvocation
Error
try_from
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>impl Any for SkillInvocation
type_id
fn type_id(self: &Self) -> TypeIdimpl ToOwned for SkillInvocation
Owned
to_owned
fn to_owned(self: &Self) -> Tclone_into
fn clone_into(self: &Self, target: &mut T)impl Same for SkillInvocation
Output
impl Clone for SkillInvocation
clone
fn clone(self: &Self) -> SkillInvocationimpl Debug for SkillInvocation
fmt
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Resultimpl Send for SkillInvocation
impl Sync for SkillInvocation
impl Freeze for SkillInvocation
impl UnsafeUnpin for SkillInvocation
impl Unpin for SkillInvocation
impl UnwindSafe for SkillInvocation
impl RefUnwindSafe for SkillInvocation
SkillOutput §
pub struct runx_runtime::adapter::SkillOutput { /* ... */ }
Implementations §
impl SkillOutput
succeeded
fn succeeded(self: &Self) -> bool#[must_use]Trait Implementations §
impl Borrow for SkillOutput
borrow
fn borrow(self: &Self) -> &Timpl BorrowMut for SkillOutput
borrow_mut
fn borrow_mut(self: &mut Self) -> &mut Timpl CloneToUninit for SkillOutput
clone_to_uninit
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)impl Into for SkillOutput
into
fn into(self: Self) -> UCalls U::from(self).
That is, this conversion is whatever the implementation of
chooses to do.From<T> for U
impl From for SkillOutput
from
fn from(t: T) -> TReturns the argument unchanged.
impl TryInto for SkillOutput
Error
try_into
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>impl TryFrom for SkillOutput
Error
try_from
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>impl Any for SkillOutput
type_id
fn type_id(self: &Self) -> TypeIdimpl ToOwned for SkillOutput
Owned
to_owned
fn to_owned(self: &Self) -> Tclone_into
fn clone_into(self: &Self, target: &mut T)impl Same for SkillOutput
Output
impl Clone for SkillOutput
clone
fn clone(self: &Self) -> SkillOutputimpl Debug for SkillOutput
fmt
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Resultimpl PartialEq for SkillOutput
eq
fn eq(self: &Self, other: &SkillOutput) -> boolimpl Serialize for SkillOutput
serialize
fn serialize( self: &Self, __serializer: __S ) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>impl Deserialize for SkillOutput
deserialize
fn deserialize(__deserializer: __D) -> _serde::__private228::Result<Self, <__D as >::Error>impl Send for SkillOutput
impl Sync for SkillOutput
impl Freeze for SkillOutput
impl UnsafeUnpin for SkillOutput
impl Unpin for SkillOutput
impl UnwindSafe for SkillOutput
impl RefUnwindSafe for SkillOutput
impl DeserializeOwned for SkillOutput
impl StructuralPartialEq for SkillOutput
Enums §
InvocationStatus §
pub enum runx_runtime::adapter::InvocationStatus { /* ... */ }
Trait Implementations §
impl Borrow for InvocationStatus
borrow
fn borrow(self: &Self) -> &Timpl BorrowMut for InvocationStatus
borrow_mut
fn borrow_mut(self: &mut Self) -> &mut Timpl CloneToUninit for InvocationStatus
clone_to_uninit
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)impl Into for InvocationStatus
into
fn into(self: Self) -> UCalls U::from(self).
That is, this conversion is whatever the implementation of
chooses to do.From<T> for U
impl From for InvocationStatus
from
fn from(t: T) -> TReturns the argument unchanged.
impl TryInto for InvocationStatus
Error
try_into
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>impl TryFrom for InvocationStatus
Error
try_from
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>impl Any for InvocationStatus
type_id
fn type_id(self: &Self) -> TypeIdimpl ToOwned for InvocationStatus
Owned
to_owned
fn to_owned(self: &Self) -> Tclone_into
fn clone_into(self: &Self, target: &mut T)impl Same for InvocationStatus
Output
impl Equivalent for InvocationStatus
equivalent
fn equivalent(self: &Self, key: &K) -> boolimpl Equivalent for InvocationStatus
equivalent
fn equivalent(self: &Self, key: &K) -> boolimpl Clone for InvocationStatus
clone
fn clone(self: &Self) -> InvocationStatusimpl Debug for InvocationStatus
fmt
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Resultimpl PartialEq for InvocationStatus
eq
fn eq(self: &Self, other: &InvocationStatus) -> boolimpl Serialize for InvocationStatus
serialize
fn serialize( self: &Self, __serializer: __S ) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>impl Deserialize for InvocationStatus
deserialize
fn deserialize(__deserializer: __D) -> _serde::__private228::Result<Self, <__D as >::Error>impl Send for InvocationStatus
impl Sync for InvocationStatus
impl Freeze for InvocationStatus
impl UnsafeUnpin for InvocationStatus
impl Unpin for InvocationStatus
impl UnwindSafe for InvocationStatus
impl RefUnwindSafe for InvocationStatus
impl DeserializeOwned for InvocationStatus
impl StructuralPartialEq for InvocationStatus
impl Eq for InvocationStatus
FanoutExecutionMode §
pub enum runx_runtime::adapter::FanoutExecutionMode { /* ... */ }
Trait Implementations §
impl Borrow for FanoutExecutionMode
borrow
fn borrow(self: &Self) -> &Timpl BorrowMut for FanoutExecutionMode
borrow_mut
fn borrow_mut(self: &mut Self) -> &mut Timpl CloneToUninit for FanoutExecutionMode
clone_to_uninit
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)impl Into for FanoutExecutionMode
into
fn into(self: Self) -> UCalls U::from(self).
That is, this conversion is whatever the implementation of
chooses to do.From<T> for U
impl From for FanoutExecutionMode
from
fn from(t: T) -> TReturns the argument unchanged.
impl TryInto for FanoutExecutionMode
Error
try_into
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>impl TryFrom for FanoutExecutionMode
Error
try_from
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>impl Any for FanoutExecutionMode
type_id
fn type_id(self: &Self) -> TypeIdimpl ToOwned for FanoutExecutionMode
Owned
to_owned
fn to_owned(self: &Self) -> Tclone_into
fn clone_into(self: &Self, target: &mut T)impl Same for FanoutExecutionMode
Output
impl Equivalent for FanoutExecutionMode
equivalent
fn equivalent(self: &Self, key: &K) -> boolimpl Equivalent for FanoutExecutionMode
equivalent
fn equivalent(self: &Self, key: &K) -> boolimpl Clone for FanoutExecutionMode
clone
fn clone(self: &Self) -> FanoutExecutionModeimpl Debug for FanoutExecutionMode
fmt
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Resultimpl PartialEq for FanoutExecutionMode
eq
fn eq(self: &Self, other: &FanoutExecutionMode) -> boolimpl Send for FanoutExecutionMode
impl Sync for FanoutExecutionMode
impl Freeze for FanoutExecutionMode
impl UnsafeUnpin for FanoutExecutionMode
impl Unpin for FanoutExecutionMode
impl UnwindSafe for FanoutExecutionMode
impl RefUnwindSafe for FanoutExecutionMode
impl Copy for FanoutExecutionMode
impl StructuralPartialEq for FanoutExecutionMode
impl Eq for FanoutExecutionMode
Traits §
SkillAdapter §
pub trait runx_runtime::adapter::SkillAdapter { /* ... */ }
Required Methods §
adapter_type
fn adapter_type(self: &Self) -> &'static strinvoke
fn invoke(self: &Self, request: SkillInvocation) -> Result<SkillOutput, RuntimeError>Provided Methods §
fanout_execution_mode
fn fanout_execution_mode(self: &Self, source: &SkillSource) -> FanoutExecutionModeclone_for_fanout
fn clone_for_fanout(self: &Self) -> Option<Box<dyn SkillAdapter + Send + Sync>>Trait Implementations §
impl SkillAdapter for Box
adapter_type
fn adapter_type(self: &Self) -> &'static strinvoke
fn invoke(self: &Self, request: SkillInvocation) -> Result<SkillOutput, RuntimeError>fanout_execution_mode
fn fanout_execution_mode(self: &Self, source: &SkillSource) -> FanoutExecutionModeclone_for_fanout
fn clone_for_fanout(self: &Self) -> Option<Box<dyn SkillAdapter + Send + Sync>>Constants §
CREDENTIAL_DELIVERY_OBSERVATIONS_METADATA §
pub const runx_runtime::adapter::CREDENTIAL_DELIVERY_OBSERVATIONS_METADATA: &str = "credential_delivery_observations";
Metadata key under which a skill's non-secret credential-delivery
observations are recorded on SkillOutput::metadata.