pub struct DecoderPacketResult {
pub accepted: bool,
}Expand description
Result returned after sending one compressed packet.
Fields§
§accepted: boolTrait Implementations§
Source§impl Clone for DecoderPacketResult
impl Clone for DecoderPacketResult
Source§fn clone(&self) -> DecoderPacketResult
fn clone(&self) -> DecoderPacketResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DecoderPacketResult
impl Debug for DecoderPacketResult
Source§impl Default for DecoderPacketResult
impl Default for DecoderPacketResult
Source§impl<'de> Deserialize<'de> for DecoderPacketResult
impl<'de> Deserialize<'de> for DecoderPacketResult
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
impl Eq for DecoderPacketResult
Source§impl PartialEq for DecoderPacketResult
impl PartialEq for DecoderPacketResult
Source§impl Serialize for DecoderPacketResult
impl Serialize for DecoderPacketResult
impl StructuralPartialEq for DecoderPacketResult
Auto Trait Implementations§
impl Freeze for DecoderPacketResult
impl RefUnwindSafe for DecoderPacketResult
impl Send for DecoderPacketResult
impl Sync for DecoderPacketResult
impl Unpin for DecoderPacketResult
impl UnsafeUnpin for DecoderPacketResult
impl UnwindSafe for DecoderPacketResult
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