#[non_exhaustive]pub enum PhyCall {
SetFrlRate(HdmiForumFrl),
SendLtp(LanePatterns),
SetFrlOutput(FrlOutput),
AdjustEqualization(EqParams),
SetScrambling(bool),
}Expand description
A structured description of a single HdmiPhy method invocation.
Used as the callback argument for StubPhy. Match on variants to
observe or assert specific PHY calls in tests and diagnostic tools.
This enum is #[non_exhaustive]: if HdmiPhy gains new methods,
PhyCall gains new variants. Downstream match arms should include a
wildcard (_) so they do not need to be updated for methods they do not
care about.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
SetFrlRate(HdmiForumFrl)
HdmiPhy::set_frl_rate was called with the given rate.
SendLtp(LanePatterns)
HdmiPhy::send_ltp was called with the given per-lane pattern set.
SetFrlOutput(FrlOutput)
HdmiPhy::set_frl_output was called with the given output mode.
AdjustEqualization(EqParams)
HdmiPhy::adjust_equalization was called with the given parameters.
SetScrambling(bool)
HdmiPhy::set_scrambling was called with the given flag.
Trait Implementations§
impl Copy for PhyCall
impl Eq for PhyCall
impl StructuralPartialEq for PhyCall
Auto Trait Implementations§
impl Freeze for PhyCall
impl RefUnwindSafe for PhyCall
impl Send for PhyCall
impl Sync for PhyCall
impl Unpin for PhyCall
impl UnsafeUnpin for PhyCall
impl UnwindSafe for PhyCall
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