pub struct DeviceFeature(/* private fields */);Expand description
Capabilities a device reports in its hello frame.
Implementations§
Source§impl DeviceFeature
impl DeviceFeature
Sourcepub const V2IP_SOURCE: Self
pub const V2IP_SOURCE: Self
Acts as a V2IP stream source.
Sourcepub const VIDEO_ROUTING: Self
pub const VIDEO_ROUTING: Self
Routes video.
Sourcepub const AUDIO_ROUTING: Self
pub const AUDIO_ROUTING: Self
Routes audio.
Sourcepub const VOLUME_CONTROL: Self
pub const VOLUME_CONTROL: Self
Controls volume.
Sourcepub const AUDIO_RETURN: Self
pub const AUDIO_RETURN: Self
Supports audio return.
Sourcepub const REMOTE_CONTROL: Self
pub const REMOTE_CONTROL: Self
Passes remote-control commands through.
Sourcepub const SETUP_COMPLETED: Self
pub const SETUP_COMPLETED: Self
Installer setup has been completed.
Sourcepub const MESH_MASTER: Self
pub const MESH_MASTER: Self
Is the master of its mesh.
Sourcepub const STATUS_NOTIFY: Self
pub const STATUS_NOTIFY: Self
Has a notification pending.
Sourcepub const STATUS_WARNING: Self
pub const STATUS_WARNING: Self
Has a warning pending.
Sourcepub const STATUS_ERROR: Self
pub const STATUS_ERROR: Self
Has an error pending.
Sourcepub const STATUS_REBOOT: Self
pub const STATUS_REBOOT: Self
Is about to reboot.
Sourcepub const MESH_MEMBER: Self
pub const MESH_MEMBER: Self
Is a member of a mesh.
Sourcepub const AUDIO_AMPLIFIER: Self
pub const AUDIO_AMPLIFIER: Self
Is an audio amplifier.
Sourcepub const STATUS_POWER_SAVE: Self
pub const STATUS_POWER_SAVE: Self
Is in power-save mode.
Sourcepub const MULTIVIEWER: Self
pub const MULTIVIEWER: Self
Is a multiviewer.
Sourcepub const STATUS_CRASHED: Self
pub const STATUS_CRASHED: Self
Has crashed since it last booted.
Sourcepub const VIDEO_WALL: Self
pub const VIDEO_WALL: Self
Supports video walls.
Sourcepub const CONFIG_INITIALISED: Self
pub const CONFIG_INITIALISED: Self
Initialises the configuration it broadcasts.
Firmware without this bit sends a device configuration built over uninitialised memory, so fields it did not mean to write carry junk.
Trait Implementations§
Source§impl BitAnd for DeviceFeature
impl BitAnd for DeviceFeature
Source§impl BitOr for DeviceFeature
impl BitOr for DeviceFeature
Source§impl BitOrAssign for DeviceFeature
impl BitOrAssign for DeviceFeature
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl Clone for DeviceFeature
impl Clone for DeviceFeature
Source§fn clone(&self) -> DeviceFeature
fn clone(&self) -> DeviceFeature
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 DeviceFeature
Source§impl Debug for DeviceFeature
impl Debug for DeviceFeature
Source§impl Default for DeviceFeature
impl Default for DeviceFeature
Source§fn default() -> DeviceFeature
fn default() -> DeviceFeature
Returns the “default value” for a type. Read more
Source§impl Display for DeviceFeature
impl Display for DeviceFeature
impl Eq for DeviceFeature
Source§impl Hash for DeviceFeature
impl Hash for DeviceFeature
Source§impl Ord for DeviceFeature
impl Ord for DeviceFeature
Source§fn cmp(&self, other: &DeviceFeature) -> Ordering
fn cmp(&self, other: &DeviceFeature) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for DeviceFeature
impl PartialEq for DeviceFeature
Source§impl PartialOrd for DeviceFeature
impl PartialOrd for DeviceFeature
impl StructuralPartialEq for DeviceFeature
Auto Trait Implementations§
impl Freeze for DeviceFeature
impl RefUnwindSafe for DeviceFeature
impl Send for DeviceFeature
impl Sync for DeviceFeature
impl Unpin for DeviceFeature
impl UnsafeUnpin for DeviceFeature
impl UnwindSafe for DeviceFeature
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