pub struct ConnectTrailerError {
pub code: String,
pub message: String,
}Expand description
Connect trailer error body.
Fields§
§code: StringConnect code string.
message: StringError message.
Trait Implementations§
Source§impl Clone for ConnectTrailerError
impl Clone for ConnectTrailerError
Source§fn clone(&self) -> ConnectTrailerError
fn clone(&self) -> ConnectTrailerError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ConnectTrailerError
impl Debug for ConnectTrailerError
Source§impl<'de> Deserialize<'de> for ConnectTrailerError
impl<'de> Deserialize<'de> for ConnectTrailerError
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
impl Eq for ConnectTrailerError
Source§impl From<ConnectTrailerError> for ConnectClientError
impl From<ConnectTrailerError> for ConnectClientError
Source§fn from(value: ConnectTrailerError) -> Self
fn from(value: ConnectTrailerError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ConnectTrailerError
impl PartialEq for ConnectTrailerError
impl StructuralPartialEq for ConnectTrailerError
Auto Trait Implementations§
impl Freeze for ConnectTrailerError
impl RefUnwindSafe for ConnectTrailerError
impl Send for ConnectTrailerError
impl Sync for ConnectTrailerError
impl Unpin for ConnectTrailerError
impl UnsafeUnpin for ConnectTrailerError
impl UnwindSafe for ConnectTrailerError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.