#[repr(transparent)]pub struct RecvStream<T>(pub T);Expand description
A WebTransport recv-stream.
Tuple Fields§
§0: TImplementations§
Source§impl<T> RecvStream<T>
impl<T> RecvStream<T>
Sourcepub const fn from_const(value: T) -> Self
pub const fn from_const(value: T) -> Self
Create an instance from a value of the underlying type T
with a const context.
Sourcepub fn into_inner(self) -> T
pub fn into_inner(self) -> T
Take the underlying value out.
Trait Implementations§
Source§impl<T> AsMut<T> for RecvStream<T>
impl<T> AsMut<T> for RecvStream<T>
Source§impl<T> AsRef<T> for RecvStream<T>
impl<T> AsRef<T> for RecvStream<T>
Source§impl<T> Deref for RecvStream<T>
impl<T> Deref for RecvStream<T>
Source§impl<T> DerefMut for RecvStream<T>
impl<T> DerefMut for RecvStream<T>
Source§impl<T> Finished for RecvStream<T>where
T: Finished,
impl<T> Finished for RecvStream<T>where
T: Finished,
Source§impl<T> From<T> for RecvStream<T>
impl<T> From<T> for RecvStream<T>
Source§impl<T> Read for RecvStream<T>where
T: Read,
impl<T> Read for RecvStream<T>where
T: Read,
Source§impl<T> ReadAbort for RecvStream<T>where
T: ReadAbort,
impl<T> ReadAbort for RecvStream<T>where
T: ReadAbort,
Source§impl<T> ReadAborted for RecvStream<T>where
T: ReadAborted,
impl<T> ReadAborted for RecvStream<T>where
T: ReadAborted,
Auto Trait Implementations§
impl<T> Freeze for RecvStream<T>where
T: Freeze,
impl<T> RefUnwindSafe for RecvStream<T>where
T: RefUnwindSafe,
impl<T> Send for RecvStream<T>where
T: Send,
impl<T> Sync for RecvStream<T>where
T: Sync,
impl<T> Unpin for RecvStream<T>where
T: Unpin,
impl<T> UnwindSafe for RecvStream<T>where
T: 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