pub enum ConnectorUpdateError {
InvalidStatus,
InvalidEdid,
TooManyModes,
EdidTooLong,
}Expand description
Error publishing a connector’s current monitor data.
Variants§
InvalidStatus
Status is not disconnected, connected, or unknown.
InvalidEdid
EDID length is not a multiple of 128 bytes.
TooManyModes
The mode list exceeds the caller-provided storage.
EdidTooLong
EDID exceeds the caller-provided storage.
Trait Implementations§
Source§impl Clone for ConnectorUpdateError
impl Clone for ConnectorUpdateError
Source§fn clone(&self) -> ConnectorUpdateError
fn clone(&self) -> ConnectorUpdateError
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 ConnectorUpdateError
Source§impl Debug for ConnectorUpdateError
impl Debug for ConnectorUpdateError
Source§impl Display for ConnectorUpdateError
impl Display for ConnectorUpdateError
impl Eq for ConnectorUpdateError
Source§impl Error for ConnectorUpdateError
impl Error for ConnectorUpdateError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl Format for ConnectorUpdateError
impl Format for ConnectorUpdateError
Source§impl PartialEq for ConnectorUpdateError
impl PartialEq for ConnectorUpdateError
impl StructuralPartialEq for ConnectorUpdateError
Auto Trait Implementations§
impl Freeze for ConnectorUpdateError
impl RefUnwindSafe for ConnectorUpdateError
impl Send for ConnectorUpdateError
impl Sync for ConnectorUpdateError
impl Unpin for ConnectorUpdateError
impl UnsafeUnpin for ConnectorUpdateError
impl UnwindSafe for ConnectorUpdateError
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