pub struct SnowstormAuth { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for SnowstormAuth
impl Clone for SnowstormAuth
Source§fn clone(&self) -> SnowstormAuth
fn clone(&self) -> SnowstormAuth
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<T> InboundConnectionUpgrade<T> for SnowstormAuth
impl<T> InboundConnectionUpgrade<T> for SnowstormAuth
Source§type Output = T
type Output = T
Output after the upgrade has been successfully negotiated and the handshake performed.
Source§type Error = SnowstormAuthError
type Error = SnowstormAuthError
Possible error during the handshake.
Source§type Future = Pin<Box<dyn Future<Output = Result<<SnowstormAuth as InboundConnectionUpgrade<T>>::Output, <SnowstormAuth as InboundConnectionUpgrade<T>>::Error>> + Send>>
type Future = Pin<Box<dyn Future<Output = Result<<SnowstormAuth as InboundConnectionUpgrade<T>>::Output, <SnowstormAuth as InboundConnectionUpgrade<T>>::Error>> + Send>>
Future that performs the handshake with the remote.
Source§fn upgrade_inbound(self, io: T, _: Self::Info) -> Self::Future
fn upgrade_inbound(self, io: T, _: Self::Info) -> Self::Future
After we have determined that the remote supports one of the protocols we support, this
method is called to start the handshake. Read more
Source§impl<T> OutboundConnectionUpgrade<T> for SnowstormAuth
impl<T> OutboundConnectionUpgrade<T> for SnowstormAuth
Source§type Output = T
type Output = T
Output after the upgrade has been successfully negotiated and the handshake performed.
Source§type Future = Pin<Box<dyn Future<Output = Result<<SnowstormAuth as OutboundConnectionUpgrade<T>>::Output, <SnowstormAuth as OutboundConnectionUpgrade<T>>::Error>> + Send>>
type Future = Pin<Box<dyn Future<Output = Result<<SnowstormAuth as OutboundConnectionUpgrade<T>>::Output, <SnowstormAuth as OutboundConnectionUpgrade<T>>::Error>> + Send>>
Future that performs the handshake with the remote.
Source§fn upgrade_outbound(self, io: T, _: Self::Info) -> Self::Future
fn upgrade_outbound(self, io: T, _: Self::Info) -> Self::Future
After we have determined that the remote supports one of the protocols we support, this
method is called to start the handshake. Read more
Source§impl UpgradeInfo for SnowstormAuth
impl UpgradeInfo for SnowstormAuth
Source§type InfoIter = Once<<SnowstormAuth as UpgradeInfo>::Info>
type InfoIter = Once<<SnowstormAuth as UpgradeInfo>::Info>
Iterator returned by
protocol_info.Source§fn protocol_info(&self) -> Self::InfoIter
fn protocol_info(&self) -> Self::InfoIter
Returns the list of protocols that are supported. Used during the negotiation process.
Auto Trait Implementations§
impl Freeze for SnowstormAuth
impl RefUnwindSafe for SnowstormAuth
impl Send for SnowstormAuth
impl Sync for SnowstormAuth
impl Unpin for SnowstormAuth
impl UnwindSafe for SnowstormAuth
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
§impl<T> CloneAny for T
impl<T> CloneAny for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> UpgradeInfoSend for Twhere
T: UpgradeInfo + Send + 'static,
<T as UpgradeInfo>::Info: Send + 'static,
<<T as UpgradeInfo>::InfoIter as IntoIterator>::IntoIter: Send + 'static,
impl<T> UpgradeInfoSend for Twhere
T: UpgradeInfo + Send + 'static,
<T as UpgradeInfo>::Info: Send + 'static,
<<T as UpgradeInfo>::InfoIter as IntoIterator>::IntoIter: Send + 'static,
§type Info = <T as UpgradeInfo>::Info
type Info = <T as UpgradeInfo>::Info
Equivalent to
UpgradeInfo::Info.§type InfoIter = <<T as UpgradeInfo>::InfoIter as IntoIterator>::IntoIter
type InfoIter = <<T as UpgradeInfo>::InfoIter as IntoIterator>::IntoIter
Equivalent to
UpgradeInfo::InfoIter.§fn protocol_info(&self) -> <T as UpgradeInfoSend>::InfoIter
fn protocol_info(&self) -> <T as UpgradeInfoSend>::InfoIter
Equivalent to
UpgradeInfo::protocol_info.