Add impl Send for AsioStream
This commit is contained in:
parent
0f510a9512
commit
b6181d4362
1 changed files with 2 additions and 0 deletions
|
|
@ -612,6 +612,8 @@ impl Drop for Driver {
|
|||
}
|
||||
}
|
||||
|
||||
unsafe impl Send for AsioStream {}
|
||||
|
||||
/// Adds a callback to the list of active callbacks
|
||||
pub fn set_callback<F: 'static>(callback: F) -> ()
|
||||
where
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue