Searched defs:from_bytes (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/request/ |
H A D | method.rs | 115 pub fn from_bytes(bytes: &[u8]) -> Result<Method, HttpError> { in from_bytes() method
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/body/mime/ |
H A D | mimetype.rs | 62 pub fn from_bytes(bytes: &'a [u8]) -> Result<Self, HttpError> { in from_bytes() method 567 fn from_bytes(b: &[u8]) -> Result<Self, HttpError> { in from_bytes() method
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/request/uri/ |
H A D | mod.rs | 225 pub fn from_bytes(bytes: &[u8]) -> Result<Self, HttpError> { in from_bytes() method 562 pub fn from_bytes(bytes: &[u8]) -> Result<Scheme, InvalidUri> { in from_bytes() method 648 pub fn from_bytes(bytes: &[u8]) -> Result<Authority, InvalidUri> { in from_bytes() method 841 pub fn from_bytes(bytes: &[u8]) -> Result<Path, InvalidUri> { in from_bytes() method 898 pub fn from_bytes(bytes: &[u8]) -> Result<Query, InvalidUri> { in from_bytes() method
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/response/ |
H A D | status.rs | 81 pub fn from_bytes(bytes: &[u8]) -> Result<Self, HttpError> { in from_bytes() method
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/ |
H A D | headers.rs | 210 pub fn from_bytes(bytes: &[u8]) -> Result<Self, HttpError> { in from_bytes() method 327 pub fn from_bytes(bytes: &[u8]) -> Result<Self, HttpError> { in from_bytes() method
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/body/ |
H A D | text.rs | 142 pub fn from_bytes(bytes: &'a [u8]) -> Self { in from_bytes() method
|
H A D | chunk.rs | 120 pub fn from_bytes(bytes: &'a [u8]) -> Self { in from_bytes() method
|