Enum netperf::common::control::ClientError
source · pub enum ClientError {
CannotCreateStream(String),
}Expand description
Error messages set by clients.
Variants§
Trait Implementations§
source§impl Debug for ClientError
impl Debug for ClientError
source§impl<'de> Deserialize<'de> for ClientError
impl<'de> Deserialize<'de> for ClientError
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 Display for ClientError
impl Display for ClientError
source§impl Error for ClientError
impl Error for ClientError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl PartialEq<ClientError> for ClientError
impl PartialEq<ClientError> for ClientError
source§fn eq(&self, other: &ClientError) -> bool
fn eq(&self, other: &ClientError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ClientError
impl Serialize for ClientError
impl Eq for ClientError
impl StructuralEq for ClientError
impl StructuralPartialEq for ClientError
Auto Trait Implementations§
impl RefUnwindSafe for ClientError
impl Send for ClientError
impl Sync for ClientError
impl Unpin for ClientError
impl UnwindSafe for ClientError
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