pub struct ConnectArgs {
pub dataflow: DataflowRef,
pub node_id: String,
pub input: String,
pub source: String,
pub queue_size: Option<u32>,
pub queue_policy: Option<QueuePolicyArg>,
pub json: bool,
}Expand description
astrs node connect arguments.
Fields§
§dataflow: DataflowRefThe dataflow to edit.
node_id: StringThe node whose input is being connected (or rewired).
input: StringThe input’s name.
source: StringThe producer port to read from, as node/output.
queue_size: Option<u32>How many messages to buffer, or the default (§24.2) if unset.
queue_policy: Option<QueuePolicyArg>What to do when the queue is full, or the default if unset.
json: boolEmit JSON rather than a human line.
Trait Implementations§
Source§impl Clone for ConnectArgs
impl Clone for ConnectArgs
Auto Trait Implementations§
impl Freeze for ConnectArgs
impl RefUnwindSafe for ConnectArgs
impl Send for ConnectArgs
impl Sync for ConnectArgs
impl Unpin for ConnectArgs
impl UnsafeUnpin for ConnectArgs
impl UnwindSafe for ConnectArgs
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more