Struct cog_task::action::core::instruction::Instruction
source · pub struct Instruction { /* private fields */ }Trait Implementations
sourceimpl Action for Instruction
impl Action for Instruction
fn init(self) -> Result<Box<dyn Action>>where
Self: 'static + Sized,
fn in_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,
A: Allocator,
fn stateful(
&self,
_io: &IoManager,
res: &ResourceManager,
_config: &Config,
_sync_writer: &QWriter<SyncSignal>,
_async_writer: &QWriter<AsyncSignal>
) -> Result<Box<dyn StatefulAction>>
fn out_signals(&self) -> BTreeSet<SignalId>
sourceimpl Debug for Instruction
impl Debug for Instruction
sourceimpl<'de> Deserialize<'de> for Instruction
impl<'de> Deserialize<'de> for Instruction
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for Instruction
impl Serialize for Instruction
Auto Trait Implementations
impl RefUnwindSafe for Instruction
impl Send for Instruction
impl Sync for Instruction
impl Unpin for Instruction
impl UnwindSafe for Instruction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more