Added note in documentation about Wrappers not being thread-safe
currently.
This commit is contained in:
parent
b199480025
commit
74528c9d4c
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ use data::kinds::IrcStream;
|
||||||
use server::{Server, ServerIterator};
|
use server::{Server, ServerIterator};
|
||||||
|
|
||||||
/// Functionality-providing wrapper for Server.
|
/// Functionality-providing wrapper for Server.
|
||||||
|
/// Wrappers are currently not thread-safe, and should be created per-thread, as needed.
|
||||||
#[experimental]
|
#[experimental]
|
||||||
pub struct Wrapper<'a, T> where T: IrcStream {
|
pub struct Wrapper<'a, T> where T: IrcStream {
|
||||||
server: &'a (Server<'a, T> + 'a)
|
server: &'a (Server<'a, T> + 'a)
|
||||||
|
|
Loading…
Add table
Reference in a new issue