[][src]Struct dyscord::Client

pub struct Client<H> { /* fields omitted */ }

Methods

impl<H> Client<H> where
    H: Handler + Sync + Send + 'static, 
[src]

pub fn new<T: Into<String>>(api_key: T, handler: H) -> Result<Client<H>, Error>[src]

pub async fn run(__arg0: Self) -> Result<(), Error>[src]

Auto Trait Implementations

impl<H> !RefUnwindSafe for Client<H>

impl<H> Send for Client<H> where
    H: Send + Sync

impl<H> Sync for Client<H> where
    H: Send + Sync

impl<H> Unpin for Client<H>

impl<H> !UnwindSafe for Client<H>

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>,