pub struct StreamIdentifier(pub u32);Tuple Fields§
§0: u32Implementations§
source§impl StreamIdentifier
impl StreamIdentifier
pub fn parse<T: Buf>(buf: &mut T) -> StreamIdentifier
pub fn zero() -> StreamIdentifier
pub fn client_first() -> StreamIdentifier
pub fn server_first() -> StreamIdentifier
pub fn next_id(&mut self) -> StreamIdentifier
pub fn is_zero(&self) -> bool
pub fn encode<B: Buf + BufMut + MarkBuf>( &self, buffer: &mut B ) -> WebResult<usize>
Trait Implementations§
source§impl Clone for StreamIdentifier
impl Clone for StreamIdentifier
source§fn clone(&self) -> StreamIdentifier
fn clone(&self) -> StreamIdentifier
Returns a copy of the value. Read more
1.0.0 · 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 StreamIdentifier
impl Debug for StreamIdentifier
source§impl From<u32> for StreamIdentifier
impl From<u32> for StreamIdentifier
source§impl Hash for StreamIdentifier
impl Hash for StreamIdentifier
source§impl Ord for StreamIdentifier
impl Ord for StreamIdentifier
source§impl PartialEq<StreamIdentifier> for StreamIdentifier
impl PartialEq<StreamIdentifier> for StreamIdentifier
source§fn eq(&self, other: &StreamIdentifier) -> bool
fn eq(&self, other: &StreamIdentifier) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<StreamIdentifier> for StreamIdentifier
impl PartialOrd<StreamIdentifier> for StreamIdentifier
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for StreamIdentifier
impl Eq for StreamIdentifier
impl StructuralEq for StreamIdentifier
impl StructuralPartialEq for StreamIdentifier
Auto Trait Implementations§
impl RefUnwindSafe for StreamIdentifier
impl Send for StreamIdentifier
impl Sync for StreamIdentifier
impl Unpin for StreamIdentifier
impl UnwindSafe for StreamIdentifier
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