#[repr(C)]pub struct mxr_stream_source_t {
pub kind: mxr_stream_kind_t,
pub ip: [c_char; 16],
pub port: u16,
pub valid: bool,
}Expand description
One multicast stream address.
Fields§
§kind: mxr_stream_kind_tWhich stream this address is for.
ip: [c_char; 16]The multicast group, as a dotted quad.
port: u16The destination UDP port.
valid: boolWhether this carries a usable address: a multicast group and a non-zero port, both. A slot a device has not filled in is not an error, so this is what separates an address from an empty slot.
Trait Implementations§
Source§impl Clone for mxr_stream_source_t
impl Clone for mxr_stream_source_t
Source§fn clone(&self) -> mxr_stream_source_t
fn clone(&self) -> mxr_stream_source_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_source_t
Source§impl From<V2ipStreamSource> for mxr_stream_source_t
impl From<V2ipStreamSource> for mxr_stream_source_t
Source§fn from(s: V2ipStreamSource) -> Self
fn from(s: V2ipStreamSource) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for mxr_stream_source_t
impl RefUnwindSafe for mxr_stream_source_t
impl Send for mxr_stream_source_t
impl Sync for mxr_stream_source_t
impl Unpin for mxr_stream_source_t
impl UnsafeUnpin for mxr_stream_source_t
impl UnwindSafe for mxr_stream_source_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