pub struct PaneOutputSubscriptionKey { /* private fields */ }Expand description
Runtime identity of a pane-output stream used for subscription accounting.
Implementations§
Source§impl PaneOutputSubscriptionKey
impl PaneOutputSubscriptionKey
Sourcepub fn new(runtime_session_name: SessionName, pane_id: PaneId) -> Self
pub fn new(runtime_session_name: SessionName, pane_id: PaneId) -> Self
Builds a subscription key from the runtime session owner and pane id.
Sourcepub fn runtime_session_name(&self) -> &SessionName
pub fn runtime_session_name(&self) -> &SessionName
Returns the runtime session name that owns the pane output stream.
Trait Implementations§
Source§impl Clone for PaneOutputSubscriptionKey
impl Clone for PaneOutputSubscriptionKey
Source§fn clone(&self) -> PaneOutputSubscriptionKey
fn clone(&self) -> PaneOutputSubscriptionKey
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 PaneOutputSubscriptionKey
impl Debug for PaneOutputSubscriptionKey
impl Eq for PaneOutputSubscriptionKey
Source§impl Hash for PaneOutputSubscriptionKey
impl Hash for PaneOutputSubscriptionKey
Source§impl PartialEq for PaneOutputSubscriptionKey
impl PartialEq for PaneOutputSubscriptionKey
Source§fn eq(&self, other: &PaneOutputSubscriptionKey) -> bool
fn eq(&self, other: &PaneOutputSubscriptionKey) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PaneOutputSubscriptionKey
Auto Trait Implementations§
impl Freeze for PaneOutputSubscriptionKey
impl RefUnwindSafe for PaneOutputSubscriptionKey
impl Send for PaneOutputSubscriptionKey
impl Sync for PaneOutputSubscriptionKey
impl Unpin for PaneOutputSubscriptionKey
impl UnsafeUnpin for PaneOutputSubscriptionKey
impl UnwindSafe for PaneOutputSubscriptionKey
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