#[non_exhaustive]pub enum BreakEdge {
Enter,
Return,
}Expand description
Which edge of an ad break a transition represents.
A crate::schedule::Schedule alone (Programme/Ad/Slate) does not
disambiguate “ad -> ad” within a multi-spot break from “ad -> programme”
return, so the caller supplies this explicitly rather than this crate
guessing it from entry kinds.
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.
Enter
Entering a break — out_of_network_indicator = true (§9.7.3).
Return
Returning from a break — out_of_network_indicator = false.
Implementations§
Trait Implementations§
impl Copy for BreakEdge
impl Eq for BreakEdge
impl StructuralPartialEq for BreakEdge
Auto Trait Implementations§
impl Freeze for BreakEdge
impl RefUnwindSafe for BreakEdge
impl Send for BreakEdge
impl Sync for BreakEdge
impl Unpin for BreakEdge
impl UnsafeUnpin for BreakEdge
impl UnwindSafe for BreakEdge
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