pub enum SysBlockConfig {
ReadDir {
path: InputPortName,
output: OutputPortName,
},
ReadEnv {
name: InputPortName,
output: OutputPortName,
},
ReadFile {
path: InputPortName,
output: OutputPortName,
},
ReadStdin {
output: OutputPortName,
buffer_size: Option<ByteSize>,
},
WriteFile {
path: InputPortName,
input: InputPortName,
flags: Option<WriteFlags>,
},
WriteStderr {
input: InputPortName,
},
WriteStdout {
input: InputPortName,
},
}Variants§
ReadDir
ReadEnv
ReadFile
ReadStdin
WriteFile
WriteStderr
Fields
§
input: InputPortNameWriteStdout
Fields
§
input: InputPortNameTrait Implementations§
Source§impl BlockConnections for SysBlockConfig
impl BlockConnections for SysBlockConfig
fn output_connections(&self) -> Vec<(&'static str, Option<OutputPortName>)>
fn input_connections(&self) -> Vec<(&'static str, Option<InputPortName>)>
Source§impl BlockInstantiation for SysBlockConfig
impl BlockInstantiation for SysBlockConfig
Source§impl Clone for SysBlockConfig
impl Clone for SysBlockConfig
Source§fn clone(&self) -> SysBlockConfig
fn clone(&self) -> SysBlockConfig
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 SysBlockConfig
impl Debug for SysBlockConfig
Source§impl<'de> Deserialize<'de> for SysBlockConfig
impl<'de> Deserialize<'de> for SysBlockConfig
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 SysBlockConfig
impl Named for SysBlockConfig
Auto Trait Implementations§
impl Freeze for SysBlockConfig
impl RefUnwindSafe for SysBlockConfig
impl Send for SysBlockConfig
impl Sync for SysBlockConfig
impl Unpin for SysBlockConfig
impl UnwindSafe for SysBlockConfig
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