pub enum MessageBody<'i> {
OpenResponse(OpenResponse<'i>),
CloseResponse(CloseResponse<'i>),
GetListResponse(GetListResponse<'i>),
}
Available on crate feature
alloc
only.Expand description
SML message body
Hint: this type only implements the message types specified by SML that are used in real-world power meters.
Variants§
OpenResponse(OpenResponse<'i>)
SML_PublicOpen.Res
message
CloseResponse(CloseResponse<'i>)
SML_PublicClose.Res
message
GetListResponse(GetListResponse<'i>)
SML_GetList.Res
message
Trait Implementations§
Source§impl<'i> Clone for MessageBody<'i>
impl<'i> Clone for MessageBody<'i>
Source§fn clone(&self) -> MessageBody<'i>
fn clone(&self) -> MessageBody<'i>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'i> Debug for MessageBody<'i>
impl<'i> Debug for MessageBody<'i>
Source§impl<'i> PartialEq for MessageBody<'i>
impl<'i> PartialEq for MessageBody<'i>
impl<'i> Eq for MessageBody<'i>
impl<'i> StructuralPartialEq for MessageBody<'i>
Auto Trait Implementations§
impl<'i> Freeze for MessageBody<'i>
impl<'i> RefUnwindSafe for MessageBody<'i>
impl<'i> Send for MessageBody<'i>
impl<'i> Sync for MessageBody<'i>
impl<'i> Unpin for MessageBody<'i>
impl<'i> UnwindSafe for MessageBody<'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