pub struct KdbMessage {
pub message_type: u8,
pub payload: K,
}Expand description
Message type for encoding
Fields§
§message_type: u8The message type (async, sync, or response)
payload: KThe K object payload
Implementations§
Trait Implementations§
Source§impl Clone for KdbMessage
impl Clone for KdbMessage
Source§fn clone(&self) -> KdbMessage
fn clone(&self) -> KdbMessage
Returns a duplicate 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 Debug for KdbMessage
impl Debug for KdbMessage
Auto Trait Implementations§
impl Freeze for KdbMessage
impl !RefUnwindSafe for KdbMessage
impl Send for KdbMessage
impl Sync for KdbMessage
impl Unpin for KdbMessage
impl !UnwindSafe for KdbMessage
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