Struct Unconstrained
#[must_use = "Unconstrained does nothing unless polled"]
pub struct Unconstrained<F> { /* private fields */ }
Future for the unconstrained method.
Trait Implementations
impl<'__pin, F> Unpin for Unconstrained<F>
where
PinnedFieldsOf<__Origin<'__pin, F>>: Unpin,
impl<F> Future for Unconstrained<F>
where
F: Future,
type Output = <F as Future>::Output;fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output>
Auto Trait Implementations
impl<F> Freeze for Unconstrained<F>
where
F: Freeze,
impl<F> RefUnwindSafe for Unconstrained<F>
where
F: RefUnwindSafe,
impl<F> Send for Unconstrained<F>
where
F: Send,
impl<F> Sync for Unconstrained<F>
where
F: Sync,
impl<F> UnsafeUnpin for Unconstrained<F>
where
F: UnsafeUnpin,
impl<F> UnwindSafe for Unconstrained<F>
where
F: UnwindSafe,
Blanket Implementations
impl<F> IntoFuture for Unconstrained<F>
where
F: Future,
type Output = <F as Future>::Output;type IntoFuture = F;fn into_future(self) -> <F as IntoFuture>::IntoFuture
impl<T> Any for Unconstrained<F>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for Unconstrained<F>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for Unconstrained<F>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for Unconstrained<F>
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for Unconstrained<F>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for Unconstrained<F>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for Unconstrained<F>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>