pub struct FutureMethod<T>where
T: DocReference,{ /* private fields */ }
Expand description
represents a method that initiates an asynchronous operation an eventually completes an abstract future
Implementations§
Source§impl FutureMethod<Validated>
impl FutureMethod<Validated>
pub fn arguments( &self, ) -> impl Iterator<Item = &Arg<FunctionArgument, Validated>>
pub fn arguments_without_callback( &self, ) -> impl Iterator<Item = &Arg<FunctionArgument, Validated>>
Trait Implementations§
Source§impl<T> Clone for FutureMethod<T>where
T: DocReference + Clone,
impl<T> Clone for FutureMethod<T>where
T: DocReference + Clone,
Source§fn clone(&self) -> FutureMethod<T>
fn clone(&self) -> FutureMethod<T>
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 moreAuto Trait Implementations§
impl<T> Freeze for FutureMethod<T>
impl<T> RefUnwindSafe for FutureMethod<T>where
T: RefUnwindSafe,
impl<T> !Send for FutureMethod<T>
impl<T> !Sync for FutureMethod<T>
impl<T> Unpin for FutureMethod<T>where
T: Unpin,
impl<T> UnwindSafe for FutureMethod<T>where
T: UnwindSafe + RefUnwindSafe,
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