feat(lib): switch to non-blocking (asynchronous) IO
BREAKING CHANGE: This breaks a lot of the Client and Server APIs. Check the documentation for how Handlers can be used for asynchronous events.
This commit is contained in:
@@ -128,6 +128,12 @@ impl fmt::Display for Method {
|
||||
}
|
||||
}
|
||||
|
||||
impl Default for Method {
|
||||
fn default() -> Method {
|
||||
Method::Get
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(feature = "serde-serialization")]
|
||||
impl Serialize for Method {
|
||||
fn serialize<S>(&self, serializer: &mut S) -> Result<(), S::Error> where S: Serializer {
|
||||
|
||||
Reference in New Issue
Block a user