Home
runx-runtime

runx_runtime::adapter

Structs §

SkillInvocation §

pub struct runx_runtime::adapter::SkillInvocation { /* ... */ }

Trait Implementations §

impl Borrow for SkillInvocation

borrow

fn borrow(self: &Self) -> &T

impl BorrowMut for SkillInvocation

borrow_mut

fn borrow_mut(self: &mut Self) -> &mut T

impl 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) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl From for SkillInvocation

from

fn from(t: T) -> T

Returns 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) -> TypeId

impl ToOwned for SkillInvocation

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

fn clone_into(self: &Self, target: &mut T)

impl Same for SkillInvocation

Output

impl Clone for SkillInvocation

clone

fn clone(self: &Self) -> SkillInvocation

impl Debug for SkillInvocation

impl 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) -> &T

impl BorrowMut for SkillOutput

borrow_mut

fn borrow_mut(self: &mut Self) -> &mut T

impl 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) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl From for SkillOutput

from

fn from(t: T) -> T

Returns 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) -> TypeId

impl ToOwned for SkillOutput

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

fn clone_into(self: &Self, target: &mut T)

impl Same for SkillOutput

Output

impl Clone for SkillOutput

clone

fn clone(self: &Self) -> SkillOutput

impl Debug for SkillOutput

impl PartialEq for SkillOutput

eq

fn eq(self: &Self, other: &SkillOutput) -> bool

impl 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) -> &T

impl BorrowMut for InvocationStatus

borrow_mut

fn borrow_mut(self: &mut Self) -> &mut T

impl 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) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl From for InvocationStatus

from

fn from(t: T) -> T

Returns 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) -> TypeId

impl ToOwned for InvocationStatus

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_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) -> bool

impl Equivalent for InvocationStatus

equivalent

fn equivalent(self: &Self, key: &K) -> bool

impl Clone for InvocationStatus

clone

fn clone(self: &Self) -> InvocationStatus

impl Debug for InvocationStatus

impl PartialEq for InvocationStatus

eq

fn eq(self: &Self, other: &InvocationStatus) -> bool

impl 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) -> &T

impl BorrowMut for FanoutExecutionMode

borrow_mut

fn borrow_mut(self: &mut Self) -> &mut T

impl 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) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl From for FanoutExecutionMode

from

fn from(t: T) -> T

Returns 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) -> TypeId

impl ToOwned for FanoutExecutionMode

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_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) -> bool

impl Equivalent for FanoutExecutionMode

equivalent

fn equivalent(self: &Self, key: &K) -> bool

impl Clone for FanoutExecutionMode

clone

fn clone(self: &Self) -> FanoutExecutionMode

impl Debug for FanoutExecutionMode

impl PartialEq for FanoutExecutionMode

eq

fn eq(self: &Self, other: &FanoutExecutionMode) -> bool

impl 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 str

invoke

fn invoke(self: &Self, request: SkillInvocation) -> Result<SkillOutput, RuntimeError>

Provided Methods §

fanout_execution_mode

fn fanout_execution_mode(self: &Self, source: &SkillSource) -> FanoutExecutionMode

clone_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 str

invoke

fn invoke(self: &Self, request: SkillInvocation) -> Result<SkillOutput, RuntimeError>

fanout_execution_mode

fn fanout_execution_mode(self: &Self, source: &SkillSource) -> FanoutExecutionMode

clone_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.