[][src]Struct hiven_rs::client::GateKeeper

pub struct GateKeeper<'c, 'u, 't, E> where
    E: EventHandler
{ pub client: &'c Client<'u, 't>, pub event_handler: E, }

Fields

client: &'c Client<'u, 't>event_handler: E

Implementations

impl<'c, 'u, 't, E> GateKeeper<'c, 'u, 't, E> where
    E: EventHandler
[src]

pub fn new(client: &'c Client<'u, 't>, event_handler: E) -> Self[src]

pub async fn start_gateway<'_>(&'_ self) -> STDResult<(), Error>[src]

Auto Trait Implementations

impl<'c, 'u, 't, E> !RefUnwindSafe for GateKeeper<'c, 'u, 't, E>

impl<'c, 'u, 't, E> Send for GateKeeper<'c, 'u, 't, E>

impl<'c, 'u, 't, E> Sync for GateKeeper<'c, 'u, 't, E> where
    E: Sync

impl<'c, 'u, 't, E> Unpin for GateKeeper<'c, 'u, 't, E> where
    E: Unpin,
    't: 'c,
    'u: 'c, 

impl<'c, 'u, 't, E> !UnwindSafe for GateKeeper<'c, 'u, 't, E>

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> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,