pub enum SignalTypes {
Example(ActionSignal<Example>),
}
Expand description
NOT GENERATED
A high level signal type to unify all the entry type specific
signal types. Must implement the From<ActionSignal<Example>>
trait
Variants§
Example(ActionSignal<Example>)
Trait Implementations§
Source§impl Debug for SignalTypes
impl Debug for SignalTypes
Source§impl<'de> Deserialize<'de> for SignalTypes
impl<'de> Deserialize<'de> for SignalTypes
Source§fn 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
Source§impl From<ActionSignal<Example>> for SignalTypes
impl From<ActionSignal<Example>> for SignalTypes
Source§fn from(value: ActionSignal<Example>) -> Self
fn from(value: ActionSignal<Example>) -> Self
Converts to this type from the input type.
Source§impl Serialize for SignalTypes
impl Serialize for SignalTypes
Source§impl TryFrom<&SignalTypes> for SerializedBytes
impl TryFrom<&SignalTypes> for SerializedBytes
Source§type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
Source§fn try_from(t: &SignalTypes) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &SignalTypes) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
Source§impl TryFrom<SerializedBytes> for SignalTypes
impl TryFrom<SerializedBytes> for SignalTypes
Source§type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
Source§fn try_from(sb: SerializedBytes) -> Result<SignalTypes, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<SignalTypes, SerializedBytesError>
Performs the conversion.
Source§impl TryFrom<SignalTypes> for SerializedBytes
impl TryFrom<SignalTypes> for SerializedBytes
Source§type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
Source§fn try_from(t: SignalTypes) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: SignalTypes) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SignalTypes
impl RefUnwindSafe for SignalTypes
impl Send for SignalTypes
impl Sync for SignalTypes
impl Unpin for SignalTypes
impl UnwindSafe for SignalTypes
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