Struct wick_config::v1::PacketFlags
source · pub struct PacketFlags {
pub done: bool,
pub open: bool,
pub close: bool,
}Expand description
Flags set on a packet.
Fields§
§done: boolIndicates the port should be considered closed.
open: boolIndicates the opening of a new substream context within the parent stream.
close: boolIndicates the closing of a substream context within the parent stream.
Trait Implementations§
source§impl Clone for PacketFlags
impl Clone for PacketFlags
source§fn clone(&self) -> PacketFlags
fn clone(&self) -> PacketFlags
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 PacketFlags
impl Debug for PacketFlags
source§impl<'de> Deserialize<'de> for PacketFlags
impl<'de> Deserialize<'de> for PacketFlags
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 PartialEq<PacketFlags> for PacketFlags
impl PartialEq<PacketFlags> for PacketFlags
source§fn eq(&self, other: &PacketFlags) -> bool
fn eq(&self, other: &PacketFlags) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for PacketFlags
impl Serialize for PacketFlags
source§impl TryFrom<PacketFlags> for PacketFlag
impl TryFrom<PacketFlags> for PacketFlag
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
source§fn try_from(value: PacketFlags) -> Result<Self, ManifestError>
fn try_from(value: PacketFlags) -> Result<Self, ManifestError>
Performs the conversion.
impl StructuralPartialEq for PacketFlags
Auto Trait Implementations§
impl RefUnwindSafe for PacketFlags
impl Send for PacketFlags
impl Sync for PacketFlags
impl Unpin for PacketFlags
impl UnwindSafe for PacketFlags
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