mirror of https://github.com/http-rs/tide
Don't make Listener require Sync
This commit is contained in:
parent
e77268092f
commit
fa24669e57
|
@ -35,7 +35,7 @@ pub(crate) use unix_listener::UnixListener;
|
|||
/// implement at least one [`ToListener`](crate::listener::ToListener) that
|
||||
/// outputs your Listener type.
|
||||
#[async_trait]
|
||||
pub trait Listener<State>: Debug + Display + Send + Sync + 'static
|
||||
pub trait Listener<State>: Debug + Display + Send + 'static
|
||||
where
|
||||
State: Send + Sync + 'static,
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue