pub struct Edge {
pub src: PadId,
pub dst: PadId,
pub policy: LinkPolicy,
pub capacity: Option<usize>,
}Expand description
A directed link from an output pad (src) to an input pad (dst), with
its backpressure policy.
Fields§
§src: PadId§dst: PadId§policy: LinkPolicy§capacity: Option<usize>Per-edge channel depth, or None to use the runner’s graph-wide
link_capacity. The launch parser sets it from a queue max-size-buffers=N
(the gst per-queue depth), so one branch can buffer more/less than the rest.
Trait Implementations§
impl Copy for Edge
impl Eq for Edge
impl StructuralPartialEq for Edge
Auto Trait Implementations§
impl Freeze for Edge
impl RefUnwindSafe for Edge
impl Send for Edge
impl Sync for Edge
impl Unpin for Edge
impl UnsafeUnpin for Edge
impl UnwindSafe for Edge
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