pub struct ServeFuture<E: RustEmbed, T> { /* private fields */ }Expand description
ServeFuture is a future that represents a service for serving embedded files.
This future is created by ServeEmbed.
This future is not intended to be used directly.
Trait Implementations§
Source§impl<E: Clone + RustEmbed, T: Clone> Clone for ServeFuture<E, T>
impl<E: Clone + RustEmbed, T: Clone> Clone for ServeFuture<E, T>
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<E, T> !Freeze for ServeFuture<E, T>
impl<E, T> !RefUnwindSafe for ServeFuture<E, T>
impl<E, T> Send for ServeFuture<E, T>
impl<E, T> Sync for ServeFuture<E, T>
impl<E, T> Unpin for ServeFuture<E, T>
impl<E, T> !UnwindSafe for ServeFuture<E, T>
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<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Source§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
Source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more