Enum wick_config::v1::TestPacketData
source · pub enum TestPacketData {
SuccessPacket(SuccessPacket),
PacketAssertionDef(PacketAssertionDef),
ErrorPacket(ErrorPacket),
}Expand description
Packet assertions.
Variants§
SuccessPacket(SuccessPacket)
A variant representing a SuccessPacket type.
PacketAssertionDef(PacketAssertionDef)
A variant representing a PacketAssertionDef type.
ErrorPacket(ErrorPacket)
A variant representing a ErrorPacket type.
Trait Implementations§
source§impl Clone for TestPacketData
impl Clone for TestPacketData
source§fn clone(&self) -> TestPacketData
fn clone(&self) -> TestPacketData
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 TestPacketData
impl Debug for TestPacketData
source§impl<'de> Deserialize<'de> for TestPacketData
impl<'de> Deserialize<'de> for TestPacketData
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<TestPacketData> for TestPacketData
impl PartialEq<TestPacketData> for TestPacketData
source§fn eq(&self, other: &TestPacketData) -> bool
fn eq(&self, other: &TestPacketData) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for TestPacketData
impl Serialize for TestPacketData
source§impl TryFrom<TestPacketData> for TestPacketData
impl TryFrom<TestPacketData> for TestPacketData
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
source§fn try_from(value: TestPacketData) -> Result<Self, ManifestError>
fn try_from(value: TestPacketData) -> Result<Self, ManifestError>
Performs the conversion.
source§impl TryFrom<TestPacketData> for TestPacketData
impl TryFrom<TestPacketData> for TestPacketData
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
source§fn try_from(value: TestPacketData) -> Result<Self, ManifestError>
fn try_from(value: TestPacketData) -> Result<Self, ManifestError>
Performs the conversion.
impl StructuralPartialEq for TestPacketData
Auto Trait Implementations§
impl RefUnwindSafe for TestPacketData
impl Send for TestPacketData
impl Sync for TestPacketData
impl Unpin for TestPacketData
impl UnwindSafe for TestPacketData
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