pub struct Switch { /* private fields */ }Trait Implementations
sourceimpl Action for Switch
impl Action for Switch
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,
A: Allocator,
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,
sourceimpl<'de> Deserialize<'de> for Switch
impl<'de> Deserialize<'de> for Switch
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
Auto Trait Implementations
impl !RefUnwindSafe for Switch
impl !Send for Switch
impl !Sync for Switch
impl Unpin for Switch
impl !UnwindSafe for Switch
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