Struct ntex_amqp_codec::protocol::SaslOutcome
source · pub struct SaslOutcome {
pub code: SaslCode,
pub additional_data: Option<Bytes>,
}
Fields§
§code: SaslCode
§additional_data: Option<Bytes>
Implementations§
Trait Implementations§
source§impl Clone for SaslOutcome
impl Clone for SaslOutcome
source§fn clone(&self) -> SaslOutcome
fn clone(&self) -> SaslOutcome
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 SaslOutcome
impl Debug for SaslOutcome
source§impl Encode for SaslOutcome
impl Encode for SaslOutcome
source§impl From<SaslOutcome> for SaslFrame
impl From<SaslOutcome> for SaslFrame
source§fn from(item: SaslOutcome) -> SaslFrame
fn from(item: SaslOutcome) -> SaslFrame
Converts to this type from the input type.
source§impl PartialEq for SaslOutcome
impl PartialEq for SaslOutcome
source§fn eq(&self, other: &SaslOutcome) -> bool
fn eq(&self, other: &SaslOutcome) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SaslOutcome
impl StructuralPartialEq for SaslOutcome
Auto Trait Implementations§
impl Freeze for SaslOutcome
impl !RefUnwindSafe for SaslOutcome
impl Send for SaslOutcome
impl Sync for SaslOutcome
impl Unpin for SaslOutcome
impl !UnwindSafe for SaslOutcome
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