pub enum Event {
SessionStarted {
signal_id: String,
role: Role,
path_label: String,
},
SessionEnded {
signal_id: String,
reason: String,
},
Command {
channel: u8,
payload: Bytes,
},
RequestedConfig(Value),
RecoveryRequest {
channel: u8,
kind: &'static str,
reason: &'static str,
},
LayerChanged {
channel: u8,
layer: u8,
name: String,
reason: &'static str,
},
}Expand description
What the engine tells its host.
Variants§
SessionStarted
SessionEnded
Command
A driver sent a message on a command channel.
RequestedConfig(Value)
Seyd’s request to the publisher (video-config).
RecoveryRequest
A pilot needs a recovery point on this channel (recovery-request).
LayerChanged
The relayed simulcast layer changed (ADR 0008). The host may use it to force an IDR on the incoming layer so the switch lands sooner; the engine switches on that layer’s next keyframe either way.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnsafeUnpin for Event
impl UnwindSafe for Event
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