Struct veilid_tools::Eventual
source · pub struct Eventual { /* private fields */ }Implementations§
source§impl Eventual
impl Eventual
pub fn new() -> Self
pub fn instance_clone<T>(&self, value: T) -> EventualFutureClone<T> ⓘwhere T: Clone + Unpin,
pub fn instance_none<T>(&self) -> EventualFutureNone<T> ⓘwhere T: Unpin,
pub fn instance_empty(&self) -> EventualFutureEmpty ⓘ
pub fn resolve(&self) -> EventualResolvedFuture<Self> ⓘ
Trait Implementations§
source§impl EventualBase for Eventual
impl EventualBase for Eventual
type ResolvedType = ()
fn base_inner(&self) -> MutexGuard<'_, EventualBaseInner<Self::ResolvedType>>
fn resolve_to_value( &self, value: Self::ResolvedType ) -> EventualResolvedFuture<Self> ⓘ
Auto Trait Implementations§
impl !RefUnwindSafe for Eventual
impl Send for Eventual
impl Sync for Eventual
impl Unpin for Eventual
impl !UnwindSafe for Eventual
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