pub struct BaseMessage {
pub seq: i64,
pub message: Sendable,
}Expand description
Represents the base protocol message, in which all other messages are wrapped.
Specification: Response
Fields§
§seq: i64Sequence number of the message. The seq for
the first message is 1, and for each message is incremented by 1.
message: SendableTrait Implementations§
Source§impl Debug for BaseMessage
impl Debug for BaseMessage
Auto Trait Implementations§
impl Freeze for BaseMessage
impl RefUnwindSafe for BaseMessage
impl Send for BaseMessage
impl Sync for BaseMessage
impl Unpin for BaseMessage
impl UnsafeUnpin for BaseMessage
impl UnwindSafe for BaseMessage
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