[−][src]Struct sacn_unofficial::receive::DiscoveredSacnSource
Represents an sACN source/sender on the network that has been discovered by this sACN receiver by receiving universe discovery packets.
Fields
name: String
The name of the source, no protocol guarantee this will be unique but if it isn't then universe discovery may not work correctly.
last_updated: Instant
The time at which the discovered source was last updated / a discovery packet was received by the source.
Implementations
impl DiscoveredSacnSource
[src]
pub fn has_all_pages(&mut self) -> bool
[src]
Returns true if all the pages sent by this DiscoveredSacnSource have been received.
This is based on each page containing a last-page value which indicates the number of the last page expected.
pub fn get_all_universes(&self) -> Vec<u16>
[src]
Returns all the universes being send by this SacnSource as discovered through the universe discovery mechanism.
Intentionally abstracts over the underlying concept of pages as this is purely an E1.31 Universe Discovery concept and is otherwise transparent.
pub fn terminate_universe(&mut self, universe: u16)
[src]
Removes the given universe from the list of universes being sent by this discovered source.
Trait Implementations
impl Clone for DiscoveredSacnSource
[src]
pub fn clone(&self) -> DiscoveredSacnSource
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for DiscoveredSacnSource
[src]
Auto Trait Implementations
impl RefUnwindSafe for DiscoveredSacnSource
impl Send for DiscoveredSacnSource
impl Sync for DiscoveredSacnSource
impl Unpin for DiscoveredSacnSource
impl UnwindSafe for DiscoveredSacnSource
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,