#[repr(transparent)]pub struct OpeningBiStream<T>(pub T);Expand description
An state for an opening bidirectional WebTransport stream.
Tuple Fields§
§0: TImplementations§
Source§impl<T> OpeningBiStream<T>
impl<T> OpeningBiStream<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 OpeningBiStream<T>
impl<T> AsMut<T> for OpeningBiStream<T>
Source§impl<T> AsRef<T> for OpeningBiStream<T>
impl<T> AsRef<T> for OpeningBiStream<T>
Source§impl<T> Deref for OpeningBiStream<T>
impl<T> Deref for OpeningBiStream<T>
Source§impl<T> DerefMut for OpeningBiStream<T>
impl<T> DerefMut for OpeningBiStream<T>
Source§impl<T> From<T> for OpeningBiStream<T>
impl<T> From<T> for OpeningBiStream<T>
Auto Trait Implementations§
impl<T> Freeze for OpeningBiStream<T>where
T: Freeze,
impl<T> RefUnwindSafe for OpeningBiStream<T>where
T: RefUnwindSafe,
impl<T> Send for OpeningBiStream<T>where
T: Send,
impl<T> Sync for OpeningBiStream<T>where
T: Sync,
impl<T> Unpin for OpeningBiStream<T>where
T: Unpin,
impl<T> UnwindSafe for OpeningBiStream<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