pub struct SessionAccept { /* private fields */ }
Implementations§
Source§impl SessionAccept
impl SessionAccept
pub fn poll_accept_uni( &mut self, cx: &mut Context<'_>, ) -> Poll<Result<RecvStream, SessionError>>
pub fn poll_accept_bi( &mut self, cx: &mut Context<'_>, ) -> Poll<Result<(SendStream, RecvStream), SessionError>>
Auto Trait Implementations§
impl !Freeze for SessionAccept
impl !RefUnwindSafe for SessionAccept
impl Send for SessionAccept
impl !Sync for SessionAccept
impl Unpin for SessionAccept
impl !UnwindSafe for SessionAccept
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