pub struct MctpMessage<'a> {
pub source: Eid,
pub dest: Eid,
pub tag: Tag,
pub typ: MsgType,
pub ic: MsgIC,
pub payload: &'a [u8],
pub cookie: Option<AppCookie>,
}
Fields§
§source: Eid
§dest: Eid
§tag: Tag
§typ: MsgType
§ic: MsgIC
§payload: &'a [u8]
Set for response messages when the request had cookie
set in the Stack::start_send
call.
“Response” message refers having TO
bit unset.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for MctpMessage<'a>
impl<'a> RefUnwindSafe for MctpMessage<'a>
impl<'a> Send for MctpMessage<'a>
impl<'a> Sync for MctpMessage<'a>
impl<'a> Unpin for MctpMessage<'a>
impl<'a> UnwindSafe for MctpMessage<'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