#[repr(C)]pub struct mxr_stream_addr_t {
pub ip: *const c_char,
pub port: u16,
}Expand description
One stream of a route the caller assembles.
Fields§
§ip: *const c_charThe multicast group, as a dotted quad. Null or empty sends the slot zeroed, naming no group for that stream.
It is not a way to leave one stream alone. The firmware decides
whether a sink has a manual route at all by reading the video and
ancillary slots, so an empty one of those disqualifies the whole
route rather than preserving anything - see
mxr_select_source_addr().
port: u16The destination UDP port. Zero means the standard port for the stream this slot names.
Trait Implementations§
Source§impl Clone for mxr_stream_addr_t
impl Clone for mxr_stream_addr_t
Source§fn clone(&self) -> mxr_stream_addr_t
fn clone(&self) -> mxr_stream_addr_t
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 moreimpl Copy for mxr_stream_addr_t
Auto Trait Implementations§
impl !Send for mxr_stream_addr_t
impl !Sync for mxr_stream_addr_t
impl Freeze for mxr_stream_addr_t
impl RefUnwindSafe for mxr_stream_addr_t
impl Unpin for mxr_stream_addr_t
impl UnsafeUnpin for mxr_stream_addr_t
impl UnwindSafe for mxr_stream_addr_t
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