Get a server working
This commit is contained in:
@@ -58,3 +58,9 @@ impl<'a> From<&'a str> for ByteStr {
|
||||
ByteStr { bytes: Bytes::from(src) }
|
||||
}
|
||||
}
|
||||
|
||||
impl From<ByteStr> for Bytes {
|
||||
fn from(src: ByteStr) -> Self {
|
||||
src.bytes
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user