pub struct MctpLinuxResp<'a> { /* private fields */ }
Expand description
A Linux MCTP Listener response channel
Trait Implementations§
Source§impl RespChannel for MctpLinuxResp<'_>
impl RespChannel for MctpLinuxResp<'_>
Source§fn send_vectored(&mut self, ic: MsgIC, bufs: &[&[u8]]) -> Result<()>
fn send_vectored(&mut self, ic: MsgIC, bufs: &[&[u8]]) -> Result<()>
Send a MCTP message
Linux MCTP can also send a preallocated owned tag, but that is not
yet supported in MctpLinuxReq
.
Source§type ReqChannel = MctpLinuxReq
type ReqChannel = MctpLinuxReq
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<'a> Freeze for MctpLinuxResp<'a>
impl<'a> RefUnwindSafe for MctpLinuxResp<'a>
impl<'a> Send for MctpLinuxResp<'a>
impl<'a> Sync for MctpLinuxResp<'a>
impl<'a> Unpin for MctpLinuxResp<'a>
impl<'a> UnwindSafe for MctpLinuxResp<'a>
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