pub struct PrivateMessageContent {
pub inner: ContentTypeInner,
pub auth: FramedContentAuthData,
pub padding_len: usize,
}
Fields§
§inner: ContentTypeInner
§auth: FramedContentAuthData
§padding_len: usize
Implementations§
Source§impl PrivateMessageContent
impl PrivateMessageContent
pub fn tls_deserialize_with_content_type<R: Read>( bytes: &mut R, content_type: ContentType, ) -> Result<Self, Error>
Trait Implementations§
Source§impl Clone for PrivateMessageContent
impl Clone for PrivateMessageContent
Source§fn clone(&self) -> PrivateMessageContent
fn clone(&self) -> PrivateMessageContent
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 Debug for PrivateMessageContent
impl Debug for PrivateMessageContent
Source§impl PartialEq for PrivateMessageContent
impl PartialEq for PrivateMessageContent
Source§impl Serialize for PrivateMessageContent
impl Serialize for PrivateMessageContent
Source§impl Size for PrivateMessageContent
impl Size for PrivateMessageContent
fn tls_serialized_len(&self) -> usize
impl Eq for PrivateMessageContent
Auto Trait Implementations§
impl Freeze for PrivateMessageContent
impl RefUnwindSafe for PrivateMessageContent
impl Send for PrivateMessageContent
impl Sync for PrivateMessageContent
impl Unpin for PrivateMessageContent
impl UnwindSafe for PrivateMessageContent
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