pub struct MctpReplyContext<M: MctpMedium> {
pub destination_endpoint_id: EndpointId,
pub source_endpoint_id: EndpointId,
pub packet_sequence_number: MctpSequenceNumber,
pub message_tag: MctpMessageTag,
pub medium_context: M::ReplyContext,
}Expand description
Represents the state needed to construct a repsonse to a request: the MCTP transport source/destination, the sequence number to use for the reply, and the medium-specific context that came with the request.
Fields§
§destination_endpoint_id: EndpointId§source_endpoint_id: EndpointId§packet_sequence_number: MctpSequenceNumber§message_tag: MctpMessageTag§medium_context: M::ReplyContextTrait Implementations§
Source§impl<M: Debug + MctpMedium> Debug for MctpReplyContext<M>where
M::ReplyContext: Debug,
impl<M: Debug + MctpMedium> Debug for MctpReplyContext<M>where
M::ReplyContext: Debug,
Source§impl<M: MctpMedium> Format for MctpReplyContext<M>where
EndpointId: Format,
MctpSequenceNumber: Format,
MctpMessageTag: Format,
M::ReplyContext: Format,
impl<M: MctpMedium> Format for MctpReplyContext<M>where
EndpointId: Format,
MctpSequenceNumber: Format,
MctpMessageTag: Format,
M::ReplyContext: Format,
Source§impl<M: PartialEq + MctpMedium> PartialEq for MctpReplyContext<M>where
M::ReplyContext: PartialEq,
impl<M: PartialEq + MctpMedium> PartialEq for MctpReplyContext<M>where
M::ReplyContext: PartialEq,
impl<M: Eq + MctpMedium> Eq for MctpReplyContext<M>where
M::ReplyContext: Eq,
impl<M: MctpMedium> StructuralPartialEq for MctpReplyContext<M>
Auto Trait Implementations§
impl<M> Freeze for MctpReplyContext<M>
impl<M> RefUnwindSafe for MctpReplyContext<M>
impl<M> Send for MctpReplyContext<M>
impl<M> Sync for MctpReplyContext<M>
impl<M> Unpin for MctpReplyContext<M>
impl<M> UnwindSafe for MctpReplyContext<M>
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