Trait cog_task::action::Action

source ·
pub trait Action: Debug + Any {
    fn stateful(
        &self,
        io: &IoManager,
        res: &ResourceManager,
        config: &Config,
        sync_writer: &QWriter<SyncSignal>,
        async_writer: &QWriter<AsyncSignal>
    ) -> Result<Box<dyn StatefulAction>>; fn init(self) -> Result<Box<dyn Action>>
    where
        Self: 'static + Sized
, { ... } fn in_signals(&self) -> BTreeSet<SignalId> { ... } fn out_signals(&self) -> BTreeSet<SignalId> { ... } fn resources(&self, config: &Config) -> Vec<ResourceAddr>Notable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
    A: Allocator,
{ ... } }

Required Methods

Provided Methods

Trait Implementations

Deserialize this value from the given Serde deserializer. Read more
Converts to this type from the input type.
Serialize this value into the given Serde serializer. Read more

Implementors