Struct wick_config::config::test_case::PacketAssertionDef
source · pub struct PacketAssertionDef { /* private fields */ }Expand description
A test case for a component’s operation that uses loose equality for comparing data.
Implementations§
source§impl PacketAssertionDef
impl PacketAssertionDef
pub fn port(&self) -> &str
pub fn assertions(&self) -> &[PacketAssertion]
Trait Implementations§
source§impl Clone for PacketAssertionDef
impl Clone for PacketAssertionDef
source§fn clone(&self) -> PacketAssertionDef
fn clone(&self) -> PacketAssertionDef
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 PacketAssertionDef
impl Debug for PacketAssertionDef
source§impl PartialEq<PacketAssertionDef> for PacketAssertionDef
impl PartialEq<PacketAssertionDef> for PacketAssertionDef
source§fn eq(&self, other: &PacketAssertionDef) -> bool
fn eq(&self, other: &PacketAssertionDef) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for PacketAssertionDef
impl Serialize for PacketAssertionDef
source§impl TryFrom<PacketAssertionDef> for PacketAssertionDef
impl TryFrom<PacketAssertionDef> for PacketAssertionDef
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
source§fn try_from(value: PacketAssertionDef) -> Result<Self, ManifestError>
fn try_from(value: PacketAssertionDef) -> Result<Self, ManifestError>
Performs the conversion.
source§impl TryFrom<PacketAssertionDef> for PacketAssertionDef
impl TryFrom<PacketAssertionDef> for PacketAssertionDef
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
source§fn try_from(value: PacketAssertionDef) -> Result<Self, ManifestError>
fn try_from(value: PacketAssertionDef) -> Result<Self, ManifestError>
Performs the conversion.
impl StructuralPartialEq for PacketAssertionDef
Auto Trait Implementations§
impl RefUnwindSafe for PacketAssertionDef
impl Send for PacketAssertionDef
impl Sync for PacketAssertionDef
impl Unpin for PacketAssertionDef
impl UnwindSafe for PacketAssertionDef
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