pub struct SrsppReceiver<E, R: ReceiverBackend = ReceiverMachine<8, 4096, 8192>, const MAX_STREAMS: usize = 1> { /* private fields */ }Expand description
Channel that owns the receiver state. Split into handle + driver.
Implementations§
Source§impl<E: Clone, R: ReceiverBackend, const MAX_STREAMS: usize> SrsppReceiver<E, R, MAX_STREAMS>
impl<E: Clone, R: ReceiverBackend, const MAX_STREAMS: usize> SrsppReceiver<E, R, MAX_STREAMS>
Sourcepub fn split(
&self,
) -> (SrsppRxHandle<'_, E, R, MAX_STREAMS>, SrsppReceiverDriver<'_, E, R, MAX_STREAMS>)
pub fn split( &self, ) -> (SrsppRxHandle<'_, E, R, MAX_STREAMS>, SrsppReceiverDriver<'_, E, R, MAX_STREAMS>)
Splits into a handle for receiving and a driver for I/O.
Auto Trait Implementations§
impl<E, R = PackedReceiver<8, 4096, 8192>, const MAX_STREAMS: usize = 1> !Freeze for SrsppReceiver<E, R, MAX_STREAMS>
impl<E, R = PackedReceiver<8, 4096, 8192>, const MAX_STREAMS: usize = 1> !RefUnwindSafe for SrsppReceiver<E, R, MAX_STREAMS>
impl<E, R, const MAX_STREAMS: usize> Send for SrsppReceiver<E, R, MAX_STREAMS>
impl<E, R = PackedReceiver<8, 4096, 8192>, const MAX_STREAMS: usize = 1> !Sync for SrsppReceiver<E, R, MAX_STREAMS>
impl<E, R, const MAX_STREAMS: usize> Unpin for SrsppReceiver<E, R, MAX_STREAMS>
impl<E, R, const MAX_STREAMS: usize> UnsafeUnpin for SrsppReceiver<E, R, MAX_STREAMS>where
E: UnsafeUnpin,
R: UnsafeUnpin,
impl<E, R, const MAX_STREAMS: usize> UnwindSafe for SrsppReceiver<E, R, MAX_STREAMS>where
E: UnwindSafe,
R: UnwindSafe,
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