pub struct StreamEventInfo {
pub stream_id: u64,
pub metadata: StreamMetadata,
pub local: bool,
pub bidirectional: bool,
pub application_visible: bool,
}Fields§
§stream_id: u64§metadata: StreamMetadata§local: bool§bidirectional: bool§application_visible: boolImplementations§
Source§impl StreamEventInfo
impl StreamEventInfo
pub fn open_info(&self) -> &[u8] ⓘ
pub fn open_info_len(&self) -> usize
pub fn has_open_info(&self) -> bool
Trait Implementations§
Source§impl Clone for StreamEventInfo
impl Clone for StreamEventInfo
Source§fn clone(&self) -> StreamEventInfo
fn clone(&self) -> StreamEventInfo
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 StreamEventInfo
impl Debug for StreamEventInfo
Source§impl PartialEq for StreamEventInfo
impl PartialEq for StreamEventInfo
Source§fn eq(&self, other: &StreamEventInfo) -> bool
fn eq(&self, other: &StreamEventInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for StreamEventInfo
impl StructuralPartialEq for StreamEventInfo
Auto Trait Implementations§
impl Freeze for StreamEventInfo
impl RefUnwindSafe for StreamEventInfo
impl Send for StreamEventInfo
impl Sync for StreamEventInfo
impl Unpin for StreamEventInfo
impl UnsafeUnpin for StreamEventInfo
impl UnwindSafe for StreamEventInfo
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