Add impl Send for AsioStream
This commit is contained in:
parent
0f510a9512
commit
b6181d4362
|
@ -612,6 +612,8 @@ impl Drop for Driver {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
unsafe impl Send for AsioStream {}
|
||||||
|
|
||||||
/// Adds a callback to the list of active callbacks
|
/// Adds a callback to the list of active callbacks
|
||||||
pub fn set_callback<F: 'static>(callback: F) -> ()
|
pub fn set_callback<F: 'static>(callback: F) -> ()
|
||||||
where
|
where
|
||||||
|
|
Loading…
Reference in New Issue