pub struct ConnectPackageStream(/* private fields */);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 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 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>> for ConnectPackageStream
impl From<Box<dyn ConnectStreamAction>> for ConnectPackageStream
Source§fn from(action: DynConnectStreamAction) -> Self
fn from(action: DynConnectStreamAction) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ConnectPackageStream
impl !RefUnwindSafe for ConnectPackageStream
impl Send for ConnectPackageStream
impl Sync for ConnectPackageStream
impl Unpin for ConnectPackageStream
impl !UnwindSafe for ConnectPackageStream
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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