pub struct Module {}Expand description
This structure implements a decision module
Trait Implementations§
Source§impl Module for Module
impl Module for Module
Source§async fn start(
agent_data: AgentData,
module_interfaces: (ModuleInterface, ModulePrivateInterface),
execution_interface: ModuleInterface,
_: Options,
)
async fn start( agent_data: AgentData, module_interfaces: (ModuleInterface, ModulePrivateInterface), execution_interface: ModuleInterface, _: Options, )
Create a new delegation module
Source§impl Module for Module
impl Module for Module
Source§type InputMessage = InputMessage
type InputMessage = InputMessage
Type of the input message for this module
Source§type OutputMessage = OutputMessage
type OutputMessage = OutputMessage
Type of the output message for this module
Source§type ModulePrivateInterface = ModulePrivateInterface
type ModulePrivateInterface = ModulePrivateInterface
Type of the private interface
Source§fn prepare_interfaces(
cap: usize,
) -> (ModuleInterface<Self::InputMessage, Self::OutputMessage>, Self::ModulePrivateInterface)
fn prepare_interfaces( cap: usize, ) -> (ModuleInterface<Self::InputMessage, Self::OutputMessage>, Self::ModulePrivateInterface)
This function is called ahead
Auto Trait Implementations§
impl Freeze for Module
impl RefUnwindSafe for Module
impl Send for Module
impl Sync for Module
impl Unpin for Module
impl UnwindSafe for Module
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more