pub enum BrowserStreamStatus {
Live,
Disconnected,
Reconnecting,
RefusedProfile,
BufferOverflow,
Cancelled,
Ended,
}Expand description
Browser-visible stream status for inspectors and transport badges.
Variants§
Live
Packets can flow.
Disconnected
The transport is disconnected.
Reconnecting
The transport is reconnecting.
RefusedProfile
A stream profile was refused by the bridge.
BufferOverflow
Backpressure dropped or rejected packets.
Cancelled
The stream was cancelled.
Ended
A finite stream ended normally.
Implementations§
Source§impl BrowserStreamStatus
impl BrowserStreamStatus
Sourcepub fn wire_label(self) -> &'static str
pub fn wire_label(self) -> &'static str
Stable label for browser/UI data.
Sourcepub fn inspector_status(self) -> StreamInspectorStatus
pub fn inspector_status(self) -> StreamInspectorStatus
Maps this browser status to the inspector status enum.
Trait Implementations§
Source§impl Clone for BrowserStreamStatus
impl Clone for BrowserStreamStatus
Source§fn clone(&self) -> BrowserStreamStatus
fn clone(&self) -> BrowserStreamStatus
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 moreimpl Copy for BrowserStreamStatus
Source§impl Debug for BrowserStreamStatus
impl Debug for BrowserStreamStatus
impl Eq for BrowserStreamStatus
Source§impl PartialEq for BrowserStreamStatus
impl PartialEq for BrowserStreamStatus
Source§fn eq(&self, other: &BrowserStreamStatus) -> bool
fn eq(&self, other: &BrowserStreamStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BrowserStreamStatus
Auto Trait Implementations§
impl Freeze for BrowserStreamStatus
impl RefUnwindSafe for BrowserStreamStatus
impl Send for BrowserStreamStatus
impl Sync for BrowserStreamStatus
impl Unpin for BrowserStreamStatus
impl UnsafeUnpin for BrowserStreamStatus
impl UnwindSafe for BrowserStreamStatus
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