pub(crate) enum StreamSite {
Open,
Header,
}Expand description
Which of the two StreamAction sites a decision was taken at.
Variants§
Open
Between accept_uni() and open_uni(): no peer stream exists yet.
Header
In the FramerOut::Header arm: the peer stream exists and has
carried no payload byte.
Implementations§
Trait Implementations§
Source§impl Clone for StreamSite
impl Clone for StreamSite
Source§fn clone(&self) -> StreamSite
fn clone(&self) -> StreamSite
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 StreamSite
Source§impl Debug for StreamSite
impl Debug for StreamSite
impl Eq for StreamSite
Source§impl PartialEq for StreamSite
impl PartialEq for StreamSite
impl StructuralPartialEq for StreamSite
Auto Trait Implementations§
impl Freeze for StreamSite
impl RefUnwindSafe for StreamSite
impl Send for StreamSite
impl Sync for StreamSite
impl Unpin for StreamSite
impl UnsafeUnpin for StreamSite
impl UnwindSafe for StreamSite
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