Trait discodo::SerenityInit[][src]

pub trait SerenityInit {
#[must_use]    fn register_discodo<'life0, 'life1, 'async_trait>(
        self,
        host: &'life0 str,
        port: Option<usize>,
        password: Option<&'life1 str>
    ) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
;
fn register_discodo_with(self, voice: Arc<Discodo>) -> Self; }

Required methods

#[must_use]fn register_discodo<'life0, 'life1, 'async_trait>(
    self,
    host: &'life0 str,
    port: Option<usize>,
    password: Option<&'life1 str>
) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 
[src]

fn register_discodo_with(self, voice: Arc<Discodo>) -> Self[src]

Loading content...

Implementations on Foreign Types

impl SerenityInit for serenity_builder<'static>[src]

Loading content...

Implementors

Loading content...