Enum cec_rs::LibcecAlert
source · #[repr(u32)]pub enum LibcecAlert {
ServiceDevice,
ConnectionLost,
PermissionError,
PortBusy,
PhysicalAddressError,
TvPollFailed,
}Variants§
Trait Implementations§
source§impl Clone for LibcecAlert
impl Clone for LibcecAlert
source§fn clone(&self) -> LibcecAlert
fn clone(&self) -> LibcecAlert
Returns a copy of the value. Read more
1.0.0 · 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 LibcecAlert
impl Debug for LibcecAlert
source§impl From<LibcecAlert> for u32
impl From<LibcecAlert> for u32
source§fn from(enum_value: LibcecAlert) -> Self
fn from(enum_value: LibcecAlert) -> Self
Converts to this type from the input type.
source§impl Hash for LibcecAlert
impl Hash for LibcecAlert
source§impl PartialEq<LibcecAlert> for LibcecAlert
impl PartialEq<LibcecAlert> for LibcecAlert
source§fn eq(&self, other: &LibcecAlert) -> bool
fn eq(&self, other: &LibcecAlert) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<u32> for LibcecAlert
impl TryFrom<u32> for LibcecAlert
impl Copy for LibcecAlert
impl Eq for LibcecAlert
impl StructuralEq for LibcecAlert
impl StructuralPartialEq for LibcecAlert
Auto Trait Implementations§
impl RefUnwindSafe for LibcecAlert
impl Send for LibcecAlert
impl Sync for LibcecAlert
impl Unpin for LibcecAlert
impl UnwindSafe for LibcecAlert
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