Struct qaul_info::types::QaulInfoData
source · [−]Fields
data: Vec<u8>
Trait Implementations
sourceimpl Clone for QaulInfoData
impl Clone for QaulInfoData
sourcefn clone(&self) -> QaulInfoData
fn clone(&self) -> QaulInfoData
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for QaulInfoData
impl Debug for QaulInfoData
sourceimpl From<QaulInfoData> for InnerMessage
impl From<QaulInfoData> for InnerMessage
sourcefn from(remote: QaulInfoData) -> InnerMessage
fn from(remote: QaulInfoData) -> InnerMessage
Converts to this type from the input type.
sourceimpl Hash for QaulInfoData
impl Hash for QaulInfoData
sourceimpl<TSocket> OutboundUpgrade<TSocket> for QaulInfoData where
TSocket: AsyncWrite + AsyncRead + Send + Unpin + 'static,
impl<TSocket> OutboundUpgrade<TSocket> for QaulInfoData where
TSocket: AsyncWrite + AsyncRead + Send + Unpin + 'static,
type Output = ()
type Output = ()
Output after the upgrade has been successfully negotiated and the handshake performed.
type Future = Pin<Box<dyn Future<Output = Result<<QaulInfoData as OutboundUpgrade<TSocket>>::Output, <QaulInfoData as OutboundUpgrade<TSocket>>::Error>> + Send + 'static, Global>>
type Future = Pin<Box<dyn Future<Output = Result<<QaulInfoData as OutboundUpgrade<TSocket>>::Output, <QaulInfoData as OutboundUpgrade<TSocket>>::Error>> + Send + 'static, Global>>
Future that performs the handshake with the remote.
sourcefn upgrade_outbound(self, substream: TSocket, _: Self::Info) -> Self::Future
fn upgrade_outbound(self, substream: TSocket, _: 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
sourceimpl PartialEq<QaulInfoData> for QaulInfoData
impl PartialEq<QaulInfoData> for QaulInfoData
sourcefn eq(&self, other: &QaulInfoData) -> bool
fn eq(&self, other: &QaulInfoData) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &QaulInfoData) -> bool
fn ne(&self, other: &QaulInfoData) -> bool
This method tests for !=
.
sourceimpl UpgradeInfo for QaulInfoData
impl UpgradeInfo for QaulInfoData
type InfoIter = Once<<QaulInfoData as UpgradeInfo>::Info>
type InfoIter = Once<<QaulInfoData as UpgradeInfo>::Info>
Iterator returned by protocol_info
.
sourcefn protocol_info(&self) -> Self::InfoIter
fn protocol_info(&self) -> Self::InfoIter
Returns the list of protocols that are supported. Used during the negotiation process.
impl Eq for QaulInfoData
impl StructuralEq for QaulInfoData
impl StructuralPartialEq for QaulInfoData
Auto Trait Implementations
impl RefUnwindSafe for QaulInfoData
impl Send for QaulInfoData
impl Sync for QaulInfoData
impl Unpin for QaulInfoData
impl UnwindSafe for QaulInfoData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<C, U> OutboundUpgradeExt<C> for U where
U: OutboundUpgrade<C>,
impl<C, U> OutboundUpgradeExt<C> for U where
U: OutboundUpgrade<C>,
fn map_outbound<F, T>(self, f: F) -> MapOutboundUpgrade<Self, F> where
F: FnOnce(Self::Output) -> T,
fn map_outbound<F, T>(self, f: F) -> MapOutboundUpgrade<Self, F> where
F: FnOnce(Self::Output) -> T,
Returns a new object that wraps around Self
and applies a closure to the Output
.
fn map_outbound_err<F, T>(self, f: F) -> MapOutboundUpgradeErr<Self, F> where
F: FnOnce(Self::Error) -> T,
fn map_outbound_err<F, T>(self, f: F) -> MapOutboundUpgradeErr<Self, F> where
F: FnOnce(Self::Error) -> T,
Returns a new object that wraps around Self
and applies a closure to the Error
.