pub struct BoundaryPort {
pub node: NodeId,
pub port: PortIdx,
pub kind: PortKind,
pub direction: PortDir,
}Available on crate feature
distributed only.Expand description
A port that sits on the local/remote boundary.
Combines the local (node, port) coordinates with the kind of port (local
scratch vs. network link) and its PortDir. Boundary ports are the
attachment points where audio crosses from a local partition onto the
network (or arrives from it).
Fields§
§node: NodeIdThe local node hosting the boundary port.
port: PortIdxThe port index on node.
kind: PortKindWhether this port is local scratch or a network link.
direction: PortDirDirection of the port (input or output), mirroring the node’s own
PortDescriptor.
Trait Implementations§
Source§impl Clone for BoundaryPort
impl Clone for BoundaryPort
Source§fn clone(&self) -> BoundaryPort
fn clone(&self) -> BoundaryPort
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BoundaryPort
impl Debug for BoundaryPort
Source§impl<'de> Deserialize<'de> for BoundaryPort
impl<'de> Deserialize<'de> for BoundaryPort
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
impl Eq for BoundaryPort
Source§impl PartialEq for BoundaryPort
impl PartialEq for BoundaryPort
Source§impl Serialize for BoundaryPort
impl Serialize for BoundaryPort
impl StructuralPartialEq for BoundaryPort
Auto Trait Implementations§
impl Freeze for BoundaryPort
impl RefUnwindSafe for BoundaryPort
impl Send for BoundaryPort
impl Sync for BoundaryPort
impl Unpin for BoundaryPort
impl UnsafeUnpin for BoundaryPort
impl UnwindSafe for BoundaryPort
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