Struct cyfs_bdt::tunnel::ConnectPackageStream
source · pub struct ConnectPackageStream(_);Implementations§
source§impl ConnectPackageStream
impl ConnectPackageStream
pub fn endpoint_pair() -> EndpointPair
pub fn new(stream: StreamContainer) -> Self
pub fn begin(&self)
Trait Implementations§
source§impl Clone for ConnectPackageStream
impl Clone for ConnectPackageStream
source§fn clone(&self) -> ConnectPackageStream
fn clone(&self) -> ConnectPackageStream
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 ConnectStreamAction for ConnectPackageStream
impl ConnectStreamAction for ConnectPackageStream
fn clone_as_connect_stream_action(&self) -> DynConnectStreamAction
fn as_any(&self) -> &dyn Any
fn state(&self) -> ConnectStreamState
fn wait_pre_establish<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = ConnectStreamState> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
fn continue_connect<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = BuckyResult<StreamProviderSelector>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
source§impl Display for ConnectPackageStream
impl Display for ConnectPackageStream
source§impl From<Box<dyn ConnectStreamAction + 'static, Global>> for ConnectPackageStream
impl From<Box<dyn ConnectStreamAction + 'static, Global>> for ConnectPackageStream
source§fn from(action: DynConnectStreamAction) -> Self
fn from(action: DynConnectStreamAction) -> Self
Converts to this type from the input type.