Struct embedded_update::service::DrogueHttp
source · [−]pub struct DrogueHttp<'a, T, RNG, const MTU: usize> where
T: TcpConnect + 'a,
RNG: RngCore + CryptoRng + 'a, { /* private fields */ }
Expand description
An update service implementation for the Drogue Cloud update service.
Implementations
Trait Implementations
sourceimpl<'a, T, RNG, const MTU: usize> UpdateService for DrogueHttp<'a, T, RNG, MTU> where
T: TcpConnect + 'a,
RNG: RngCore + CryptoRng + 'a,
impl<'a, T, RNG, const MTU: usize> UpdateService for DrogueHttp<'a, T, RNG, MTU> where
T: TcpConnect + 'a,
RNG: RngCore + CryptoRng + 'a,
type RequestFuture<'m>
where
Self: 'm = impl Future<Output = Result<Command<'m>, <DrogueHttp<'a, T, RNG, MTU> as UpdateService>::Error>> + 'm
type RequestFuture<'m>
where
Self: 'm = impl Future<Output = Result<Command<'m>, <DrogueHttp<'a, T, RNG, MTU> as UpdateService>::Error>> + 'm
Future returned by send
sourcefn request<'m>(&'m mut self, status: &'m Status<'m>) -> Self::RequestFuture<'m>
fn request<'m>(&'m mut self, status: &'m Status<'m>) -> Self::RequestFuture<'m>
Send the status to the server, and return the Command responded by the service rx buffer. Read more
Auto Trait Implementations
impl<'a, T, RNG, const MTU: usize> RefUnwindSafe for DrogueHttp<'a, T, RNG, MTU> where
RNG: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, T, RNG, const MTU: usize> Send for DrogueHttp<'a, T, RNG, MTU> where
RNG: Send,
T: Send,
impl<'a, T, RNG, const MTU: usize> Sync for DrogueHttp<'a, T, RNG, MTU> where
RNG: Sync,
T: Sync,
impl<'a, T, RNG, const MTU: usize> Unpin for DrogueHttp<'a, T, RNG, MTU> where
RNG: Unpin,
T: Unpin,
impl<'a, T, RNG, const MTU: usize> UnwindSafe for DrogueHttp<'a, T, RNG, MTU> where
RNG: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more