mirror of
https://github.com/System-End/slack-morphism-rust.git
synced 2026-04-19 19:45:13 +00:00
formatting
This commit is contained in:
parent
9081aadef9
commit
38959cc5d5
2 changed files with 3 additions and 2 deletions
|
|
@ -38,7 +38,8 @@ where
|
|||
move |req: Request<Body>| route(req, default.clone()).boxed()
|
||||
}
|
||||
|
||||
pub type ErrorHandler = Box<fn(Box<dyn std::error::Error + Send + Sync + 'static>, Arc<SlackClient>)>;
|
||||
pub type ErrorHandler =
|
||||
Box<fn(Box<dyn std::error::Error + Send + Sync + 'static>, Arc<SlackClient>)>;
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct SlackClientEventsListener {
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ use crate::api::*;
|
|||
use crate::errors::*;
|
||||
use crate::{SlackClient, SlackClientHttpApi};
|
||||
|
||||
use crate::listener::{SlackClientEventsListener, ErrorHandler};
|
||||
use crate::listener::{ErrorHandler, SlackClientEventsListener};
|
||||
use futures::future::{BoxFuture, FutureExt};
|
||||
use hyper::body::*;
|
||||
use hyper::{Method, Request, Response};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue