pub struct RouterAsyncRespChannel<'r> { /* private fields */ }
Expand description
A response channel.
Returned by RouterAsyncListener::recv
.
Trait Implementations§
Source§impl<'r> AsyncRespChannel for RouterAsyncRespChannel<'r>
impl<'r> AsyncRespChannel for RouterAsyncRespChannel<'r>
Source§async fn send_vectored(
&mut self,
integrity_check: MsgIC,
bufs: &[&[u8]],
) -> Result<()>
async fn send_vectored( &mut self, integrity_check: MsgIC, bufs: &[&[u8]], ) -> Result<()>
Send a message.
See description of RouterAsyncReqChannel::send_vectored()
.
Source§type ReqChannel<'a> = RouterAsyncReqChannel<'r>
where
Self: 'a
type ReqChannel<'a> = RouterAsyncReqChannel<'r> where Self: 'a
ReqChannel
type returned by req_channel
Source§fn remote_eid(&self) -> Eid
fn remote_eid(&self) -> Eid
Return the remote Endpoint ID
Source§fn req_channel(&self) -> Result<Self::ReqChannel<'_>>
fn req_channel(&self) -> Result<Self::ReqChannel<'_>>
Constructs a new ReqChannel to the same MCTP endpoint as this RespChannel.
Auto Trait Implementations§
impl<'r> Freeze for RouterAsyncRespChannel<'r>
impl<'r> !RefUnwindSafe for RouterAsyncRespChannel<'r>
impl<'r> Send for RouterAsyncRespChannel<'r>
impl<'r> Sync for RouterAsyncRespChannel<'r>
impl<'r> Unpin for RouterAsyncRespChannel<'r>
impl<'r> !UnwindSafe for RouterAsyncRespChannel<'r>
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