pub enum IoBlockConfig {
Decode {
input: InputPortName,
output: OutputPortName,
encoding: Option<Encoding>,
},
DecodeJson {
input: InputPortName,
output: OutputPortName,
},
Encode {
input: InputPortName,
output: OutputPortName,
encoding: Option<Encoding>,
},
EncodeHex {
input: InputPortName,
output: OutputPortName,
},
EncodeJson {
input: InputPortName,
output: OutputPortName,
},
}Variants§
Trait Implementations§
Source§impl BlockConnections for IoBlockConfig
impl BlockConnections for IoBlockConfig
fn output_connections(&self) -> Vec<(&'static str, Option<OutputPortName>)>
fn input_connections(&self) -> Vec<(&'static str, Option<InputPortName>)>
Source§impl BlockInstantiation for IoBlockConfig
impl BlockInstantiation for IoBlockConfig
Source§impl Clone for IoBlockConfig
impl Clone for IoBlockConfig
Source§fn clone(&self) -> IoBlockConfig
fn clone(&self) -> IoBlockConfig
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IoBlockConfig
impl Debug for IoBlockConfig
Source§impl<'de> Deserialize<'de> for IoBlockConfig
impl<'de> Deserialize<'de> for IoBlockConfig
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 Named for IoBlockConfig
impl Named for IoBlockConfig
Auto Trait Implementations§
impl Freeze for IoBlockConfig
impl RefUnwindSafe for IoBlockConfig
impl Send for IoBlockConfig
impl Sync for IoBlockConfig
impl Unpin for IoBlockConfig
impl UnwindSafe for IoBlockConfig
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