pub struct PluginSessionCorrelation { /* private fields */ }Expand description
Plan and sequence identity shared by active playback and next-item prewarm.
Implementations§
Source§impl PluginSessionCorrelation
impl PluginSessionCorrelation
pub fn new( plan_fingerprint: impl Into<String>, session_id: impl Into<String>, session_generation: u64, ) -> Result<Self, PluginPlaybackError>
pub fn plan_fingerprint(&self) -> &str
pub fn session_id(&self) -> &str
pub const fn session_generation(&self) -> u64
Trait Implementations§
Source§impl Clone for PluginSessionCorrelation
impl Clone for PluginSessionCorrelation
Source§fn clone(&self) -> PluginSessionCorrelation
fn clone(&self) -> PluginSessionCorrelation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PluginSessionCorrelation
impl Debug for PluginSessionCorrelation
impl Eq for PluginSessionCorrelation
Source§impl Hash for PluginSessionCorrelation
impl Hash for PluginSessionCorrelation
Source§impl PartialEq for PluginSessionCorrelation
impl PartialEq for PluginSessionCorrelation
impl StructuralPartialEq for PluginSessionCorrelation
Auto Trait Implementations§
impl Freeze for PluginSessionCorrelation
impl RefUnwindSafe for PluginSessionCorrelation
impl Send for PluginSessionCorrelation
impl Sync for PluginSessionCorrelation
impl Unpin for PluginSessionCorrelation
impl UnsafeUnpin for PluginSessionCorrelation
impl UnwindSafe for PluginSessionCorrelation
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