pub struct SrsppStream<'a, E, R: ReceiverBackend, const MAX_STREAMS: usize> { /* private fields */ }Expand description
A scoped receiver for one source address.
Created by serve for each new
connection. recv() only returns messages from this source.
Implementations§
Source§impl<'a, E: Clone, R: ReceiverBackend, const MAX_STREAMS: usize> SrsppStream<'a, E, R, MAX_STREAMS>
impl<'a, E: Clone, R: ReceiverBackend, const MAX_STREAMS: usize> SrsppStream<'a, E, R, MAX_STREAMS>
Auto Trait Implementations§
impl<'a, E, R, const MAX_STREAMS: usize> Freeze for SrsppStream<'a, E, R, MAX_STREAMS>
impl<'a, E, R, const MAX_STREAMS: usize> !RefUnwindSafe for SrsppStream<'a, E, R, MAX_STREAMS>
impl<'a, E, R, const MAX_STREAMS: usize> !Send for SrsppStream<'a, E, R, MAX_STREAMS>
impl<'a, E, R, const MAX_STREAMS: usize> !Sync for SrsppStream<'a, E, R, MAX_STREAMS>
impl<'a, E, R, const MAX_STREAMS: usize> Unpin for SrsppStream<'a, E, R, MAX_STREAMS>
impl<'a, E, R, const MAX_STREAMS: usize> UnsafeUnpin for SrsppStream<'a, E, R, MAX_STREAMS>
impl<'a, E, R, const MAX_STREAMS: usize> !UnwindSafe for SrsppStream<'a, E, R, MAX_STREAMS>
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