pub struct RemoteNode {
pub node_id: NodeId,
pub host: String,
pub port: u16,
pub transport_hint: TransportHint,
}Available on crate feature
distributed only.Expand description
Serializable model of a node living on a remote host.
This describes where a node runs and how to reach it, not the node’s DSP. The actual transport implementation is sonicbrew’s responsibility (M09).
Fields§
§node_id: NodeIdThe remote node’s identifier (as assigned by the originating graph).
host: StringHostname or IP address of the remote host.
port: u16Network port (e.g. RTP port) on the remote host.
transport_hint: TransportHintSuggested transport for reaching this remote.
Trait Implementations§
Source§impl Clone for RemoteNode
impl Clone for RemoteNode
Source§fn clone(&self) -> RemoteNode
fn clone(&self) -> RemoteNode
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 RemoteNode
impl Debug for RemoteNode
Source§impl<'de> Deserialize<'de> for RemoteNode
impl<'de> Deserialize<'de> for RemoteNode
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 RemoteNode
Source§impl PartialEq for RemoteNode
impl PartialEq for RemoteNode
Source§impl Serialize for RemoteNode
impl Serialize for RemoteNode
impl StructuralPartialEq for RemoteNode
Auto Trait Implementations§
impl Freeze for RemoteNode
impl RefUnwindSafe for RemoteNode
impl Send for RemoteNode
impl Sync for RemoteNode
impl Unpin for RemoteNode
impl UnsafeUnpin for RemoteNode
impl UnwindSafe for RemoteNode
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