pub struct PolledMessage {
pub contents: Vec<u8>,
pub id: u64,
pub poll_tag: u32,
}
Fields§
§contents: Vec<u8>
§id: u64
§poll_tag: u32
Implementations§
Trait Implementations§
Source§impl Clone for PolledMessage
impl Clone for PolledMessage
Source§fn clone(&self) -> PolledMessage
fn clone(&self) -> PolledMessage
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 PolledMessage
impl Debug for PolledMessage
Source§impl<'de> Deserialize<'de> for PolledMessage
impl<'de> Deserialize<'de> for PolledMessage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<PolledMessage> for Message
impl From<PolledMessage> for Message
Source§fn from(value: PolledMessage) -> Self
fn from(value: PolledMessage) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PolledMessage
impl RefUnwindSafe for PolledMessage
impl Send for PolledMessage
impl Sync for PolledMessage
impl Unpin for PolledMessage
impl UnwindSafe for PolledMessage
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