pub enum UpdateError<E> {
Read(E),
Write(E),
}Expand description
The error of an SCDC operation made of a read and a write, saying which of them failed:
a read-modify-write of TMDS_Config, or the clear of FLT_update.
Exhaustive: such an operation is a read and a write, never a third transfer. Its
DdcError kind is that of the half that failed.
Variants§
Read(E)
The read failed; nothing was written.
Write(E)
The read succeeded and the write failed; whether the sink took the write is unknown.
Implementations§
Source§impl<E> UpdateError<E>
impl<E> UpdateError<E>
Sourcepub fn into_inner(self) -> E
pub fn into_inner(self) -> E
The underlying error, whichever transfer it came from.
Trait Implementations§
Source§impl<E> Clone for UpdateError<E>where
E: Clone,
impl<E> Clone for UpdateError<E>where
E: Clone,
Source§fn clone(&self) -> UpdateError<E>
fn clone(&self) -> UpdateError<E>
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<E> Copy for UpdateError<E>where
E: Copy,
Source§impl<E> DdcError for UpdateError<E>where
E: DdcError,
impl<E> DdcError for UpdateError<E>where
E: DdcError,
Source§fn kind(&self) -> DdcErrorKind
fn kind(&self) -> DdcErrorKind
What kind of failure this is.
Source§impl<E> Debug for UpdateError<E>where
E: Debug,
impl<E> Debug for UpdateError<E>where
E: Debug,
Source§impl<E> Display for UpdateError<E>where
E: Display,
impl<E> Display for UpdateError<E>where
E: Display,
impl<E> Eq for UpdateError<E>where
E: Eq,
Source§impl<E> Error for UpdateError<E>where
E: Error + 'static,
impl<E> Error for UpdateError<E>where
E: Error + 'static,
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<E> Hash for UpdateError<E>where
E: Hash,
impl<E> Hash for UpdateError<E>where
E: Hash,
Source§impl<E> PartialEq for UpdateError<E>where
E: PartialEq,
impl<E> PartialEq for UpdateError<E>where
E: PartialEq,
impl<E> StructuralPartialEq for UpdateError<E>where
E: PartialEq,
Auto Trait Implementations§
impl<E> Forget for UpdateError<E>
impl<E> Freeze for UpdateError<E>where
E: Freeze,
impl<E> Move for UpdateError<E>
impl<E> RefUnwindSafe for UpdateError<E>where
E: RefUnwindSafe,
impl<E> Send for UpdateError<E>where
E: Send,
impl<E> Sync for UpdateError<E>where
E: Sync,
impl<E> Unpin for UpdateError<E>where
E: Unpin,
impl<E> UnsafeUnpin for UpdateError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for UpdateError<E>where
E: UnwindSafe,
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