pub enum SessionExit {
Stopped,
ProducerEnded,
Disconnected,
IncompatibleDevice,
}Expand description
How a shared presentation session ended.
Variants§
Stopped
The session received a stop request.
ProducerEnded
The content source ended normally.
For callback streams, this means the producer returned
crate::ChunkResult::End.
Disconnected
The device disconnected and reconnection was unavailable or exhausted.
IncompatibleDevice
A replacement device was rejected because its backend kind, output model, or PPS range is incompatible with the running session.
Trait Implementations§
Source§impl Clone for SessionExit
impl Clone for SessionExit
Source§impl Debug for SessionExit
impl Debug for SessionExit
impl Eq for SessionExit
Source§impl PartialEq for SessionExit
impl PartialEq for SessionExit
impl StructuralPartialEq for SessionExit
Auto Trait Implementations§
impl Freeze for SessionExit
impl RefUnwindSafe for SessionExit
impl Send for SessionExit
impl Sync for SessionExit
impl Unpin for SessionExit
impl UnsafeUnpin for SessionExit
impl UnwindSafe for SessionExit
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