pub enum WebStreamOperation {
Read,
Subscribe,
Push,
Cancel,
Stats,
}Expand description
Web bridge stream operations and their corresponding fabric controls.
Variants§
Read
Read up to limit packets.
Subscribe
Subscribe to stream metadata and status.
Push
Push one envelope into a stream.
Cancel
Cancel the stream.
Stats
Inspect stream statistics.
Implementations§
Source§impl WebStreamOperation
impl WebStreamOperation
Sourcepub fn wire_label(self) -> &'static str
pub fn wire_label(self) -> &'static str
Returns the stable wire label for this operation.
Sourcepub fn fabric_symbol(self) -> Symbol
pub fn fabric_symbol(self) -> Symbol
Returns the fabric control symbol this operation maps to.
Sourcepub fn capability(self) -> CapabilityName
pub fn capability(self) -> CapabilityName
Returns the capability required to invoke this operation.
Trait Implementations§
Source§impl Clone for WebStreamOperation
impl Clone for WebStreamOperation
Source§fn clone(&self) -> WebStreamOperation
fn clone(&self) -> WebStreamOperation
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 WebStreamOperation
Source§impl Debug for WebStreamOperation
impl Debug for WebStreamOperation
impl Eq for WebStreamOperation
Source§impl PartialEq for WebStreamOperation
impl PartialEq for WebStreamOperation
Source§fn eq(&self, other: &WebStreamOperation) -> bool
fn eq(&self, other: &WebStreamOperation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WebStreamOperation
Auto Trait Implementations§
impl Freeze for WebStreamOperation
impl RefUnwindSafe for WebStreamOperation
impl Send for WebStreamOperation
impl Sync for WebStreamOperation
impl Unpin for WebStreamOperation
impl UnsafeUnpin for WebStreamOperation
impl UnwindSafe for WebStreamOperation
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