pub struct Message<'i> {
pub transaction_id: OctetStr<'i>,
pub group_no: u8,
pub abort_on_error: u8,
pub message_body: MessageBody<'i>,
}
Available on crate feature
alloc
only.Expand description
An SML message
Fields§
§transaction_id: OctetStr<'i>
transaction identifier
group_no: u8
allows grouping of SML messages
abort_on_error: u8
describes how to handle the Message in case of errors
message_body: MessageBody<'i>
main content of the message
Trait Implementations§
impl<'i> Eq for Message<'i>
impl<'i> StructuralPartialEq for Message<'i>
Auto Trait Implementations§
impl<'i> Freeze for Message<'i>
impl<'i> RefUnwindSafe for Message<'i>
impl<'i> Send for Message<'i>
impl<'i> Sync for Message<'i>
impl<'i> Unpin for Message<'i>
impl<'i> UnwindSafe for Message<'i>
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