pub enum StreamOutputConfig {
OutputAllOutputChannelsToStream(bool),
}Variants§
OutputAllOutputChannelsToStream(bool)
By default, the output of the node will only be available to downstream nodes. To consume the direct output from the application node, the output must be sent to Vision AI Streams at first.
By setting output_all_output_channels_to_stream to true, App Platform will automatically send all the outputs of the current node to Vision AI Stream resources (one stream per output channel). The output stream resource will be created by App Platform automatically during deployment and deleted after application un-deployment. Note that this config applies to all the Application Instances.
The output stream can be override at instance level by
configuring the output_resources section of Instance resource.
producer_node should be current node, output_resource_binding should
be the output channel name (or leave it blank if there is only 1 output
channel of the processor) and output_resource should be the target
output stream.
Implementations§
Source§impl StreamOutputConfig
impl StreamOutputConfig
Sourcepub fn merge(
field: &mut Option<StreamOutputConfig>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<StreamOutputConfig>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into self.
Sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
Source§impl Clone for StreamOutputConfig
impl Clone for StreamOutputConfig
Source§fn clone(&self) -> StreamOutputConfig
fn clone(&self) -> StreamOutputConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more