Struct wick_config::config::test_case::ErrorPayload
source · pub struct ErrorPayload { /* private fields */ }Expand description
A simplified representation of a Wick error packet & payload, used to write tests.
Implementations§
source§impl ErrorPayload
impl ErrorPayload
Trait Implementations§
source§impl Clone for ErrorPayload
impl Clone for ErrorPayload
source§fn clone(&self) -> ErrorPayload
fn clone(&self) -> ErrorPayload
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 ErrorPayload
impl Debug for ErrorPayload
source§impl PartialEq<ErrorPayload> for ErrorPayload
impl PartialEq<ErrorPayload> for ErrorPayload
source§fn eq(&self, other: &ErrorPayload) -> bool
fn eq(&self, other: &ErrorPayload) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ErrorPayload
impl Serialize for ErrorPayload
source§impl TryFrom<ErrorPacket> for ErrorPayload
impl TryFrom<ErrorPacket> for ErrorPayload
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
source§fn try_from(value: ErrorPacket) -> Result<Self, ManifestError>
fn try_from(value: ErrorPacket) -> Result<Self, ManifestError>
Performs the conversion.
source§impl TryFrom<ErrorPayload> for ErrorPacket
impl TryFrom<ErrorPayload> for ErrorPacket
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
source§fn try_from(value: ErrorPayload) -> Result<Self, ManifestError>
fn try_from(value: ErrorPayload) -> Result<Self, ManifestError>
Performs the conversion.
impl StructuralPartialEq for ErrorPayload
Auto Trait Implementations§
impl RefUnwindSafe for ErrorPayload
impl Send for ErrorPayload
impl Sync for ErrorPayload
impl Unpin for ErrorPayload
impl UnwindSafe for ErrorPayload
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