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 duplicate 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 DecodeFormatted for SaslOutcome
impl DecodeFormatted for SaslOutcome
fn decode_with_format( input: &mut Bytes, fmt: u8, ) -> Result<Self, AmqpParseError>
Source§impl Default for SaslOutcome
impl Default for SaslOutcome
Source§fn default() -> SaslOutcome
fn default() -> SaslOutcome
Returns the “default value” for a type. Read more
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
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