Struct xwt_core::utils::dummy::Connecting
source · pub struct Connecting<T>(pub T);
Tuple Fields§
§0: T
Trait Implementations§
source§impl<T> Connecting for Connecting<T>where
T: Send,
impl<T> Connecting for Connecting<T>where
T: Send,
type Connection = T
type Error = Infallible
fn wait_connect<'async_trait>(
self
) -> Pin<Box<dyn Future<Output = Result<Self::Connection, Self::Error>> + Send + 'async_trait>>where
Self: 'async_trait,
Auto Trait Implementations§
impl<T> RefUnwindSafe for Connecting<T>where
T: RefUnwindSafe,
impl<T> Send for Connecting<T>where
T: Send,
impl<T> Sync for Connecting<T>where
T: Sync,
impl<T> Unpin for Connecting<T>where
T: Unpin,
impl<T> UnwindSafe for Connecting<T>where
T: UnwindSafe,
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