pub struct ClientStream { /* private fields */ }Implementations§
Source§impl ClientStream
impl ClientStream
pub fn operation(&self) -> &ClientOperationId
pub async fn next(&mut self) -> Result<Option<Envelope>, ClientError>
pub fn try_next(&mut self) -> Result<Option<Option<Envelope>>, ClientError>
pub async fn next_response( &mut self, ) -> Result<Option<ClientResponse>, ClientError>
Trait Implementations§
Source§impl Drop for ClientStream
impl Drop for ClientStream
Auto Trait Implementations§
impl !Freeze for ClientStream
impl !RefUnwindSafe for ClientStream
impl !Sync for ClientStream
impl !UnwindSafe for ClientStream
impl Send for ClientStream
impl Unpin for ClientStream
impl UnsafeUnpin for ClientStream
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