[][src]Struct tbot::event_loop::webhook::https::Https

#[must_use = "webhook server needs to be `start`ed to run the event loop"]
pub struct Https<'a, C> { /* fields omitted */ }

Configures the HTTPS webhook server.

Methods

impl<'a, C: Connector + Clone> Https<'a, C>[src]

pub async fn start(self) -> Result<Infallible, HttpsWebhook>[src]

Starts the event loop.

Auto Trait Implementations

impl<'a, C> !RefUnwindSafe for Https<'a, C>

impl<'a, C> Send for Https<'a, C> where
    C: Send + Sync

impl<'a, C> Sync for Https<'a, C> where
    C: Send + Sync

impl<'a, C> Unpin for Https<'a, C>

impl<'a, C> !UnwindSafe for Https<'a, C>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.