pub struct SaslOutcome {
pub code: SaslCode,
pub additional_data: Option<Bytes>,
}
Fields§
§code: SaslCode
§additional_data: Option<Bytes>
Implementations§
Source§impl SaslOutcome
impl SaslOutcome
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 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 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