pub struct Stream(/* private fields */);
Expand description
The Stream
implementation associated with the platform’s dynamically dispatched
Host
type.
Implementations§
source§impl Stream
impl Stream
sourcepub fn as_inner(&self) -> &StreamInner
pub fn as_inner(&self) -> &StreamInner
Returns a reference to the underlying platform specific implementation of this
Stream
.
sourcepub fn as_inner_mut(&mut self) -> &mut StreamInner
pub fn as_inner_mut(&mut self) -> &mut StreamInner
Returns a mutable reference to the underlying platform specific implementation of
this Stream
.
sourcepub fn into_inner(self) -> StreamInner
pub fn into_inner(self) -> StreamInner
Returns the underlying platform specific implementation of this Stream
.
Trait Implementations§
source§impl From<StreamInner> for Stream
impl From<StreamInner> for Stream
source§fn from(s: StreamInner) -> Self
fn from(s: StreamInner) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for Stream
impl !Send for Stream
impl !Sync for Stream
impl Unpin for Stream
impl !UnwindSafe for Stream
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