#[non_exhaustive]pub enum ScramblingDecision {
Required,
LowRate,
Off(ScramblingOff),
}Expand description
Why the link is or is not scrambled.
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.
Required
The rate is above the threshold, so the link is scrambled at 1/40.
LowRate
The rate is at or below the threshold, and the source, the sink and the policy all allow scrambling.
Off(ScramblingOff)
The link is 1/10 and not scrambled: the rate is at or below the threshold, or it
is exactly 340 000 kHz under ScramblingThreshold::AtOrAbove340 on a sink
without SCDC or scrambling support or a source without a scrambler (then
no_scdc, no_scrambling_support or source_cannot is set).
Trait Implementations§
Source§impl Clone for ScramblingDecision
impl Clone for ScramblingDecision
impl Copy for ScramblingDecision
Source§impl Debug for ScramblingDecision
impl Debug for ScramblingDecision
impl Eq for ScramblingDecision
Source§impl Hash for ScramblingDecision
impl Hash for ScramblingDecision
Source§impl PartialEq for ScramblingDecision
impl PartialEq for ScramblingDecision
impl StructuralPartialEq for ScramblingDecision
Auto Trait Implementations§
impl Forget for ScramblingDecision
impl Freeze for ScramblingDecision
impl Move for ScramblingDecision
impl RefUnwindSafe for ScramblingDecision
impl Send for ScramblingDecision
impl Sync for ScramblingDecision
impl Unpin for ScramblingDecision
impl UnsafeUnpin for ScramblingDecision
impl UnwindSafe for ScramblingDecision
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