pub struct Endpoint { /* private fields */ }
Expand description
Communication endpoint.
Implementations§
Source§impl Endpoint
impl Endpoint
Source§impl Endpoint
impl Endpoint
Sourcepub async fn stream_recv(
&self,
buf: &mut [MaybeUninit<u8>],
) -> Result<usize, Error>
pub async fn stream_recv( &self, buf: &mut [MaybeUninit<u8>], ) -> Result<usize, Error>
Receives data from stream.
Source§impl Endpoint
impl Endpoint
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Endpoint
impl !RefUnwindSafe for Endpoint
impl !Send for Endpoint
impl !Sync for Endpoint
impl Unpin for Endpoint
impl !UnwindSafe for Endpoint
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