Home
last modified time | relevance | path

Searched defs:try_from (Results 1 – 7 of 7) sorted by relevance

/commonlibrary/rust/ylong_http/ylong_http/src/request/uri/
Dmod.rs355 fn try_from(s: &'a [u8]) -> Result<Self, Self::Error> { in try_from() method
363 fn try_from(s: &'a str) -> Result<Self, Self::Error> { in try_from() method
616 fn try_from(bytes: &'a [u8]) -> Result<Self, Self::Error> { in try_from() method
624 fn try_from(s: &'a str) -> Result<Self, Self::Error> { in try_from() method
730 fn try_from(bytes: &'a [u8]) -> Result<Self, Self::Error> { in try_from() method
738 fn try_from(s: &'a str) -> Result<Self, Self::Error> { in try_from() method
913 fn try_from(bytes: &'a [u8]) -> Result<Self, Self::Error> { in try_from() method
921 fn try_from(s: &'a str) -> Result<Self, Self::Error> { in try_from() method
966 fn try_from(s: &'a [u8]) -> Result<Self, Self::Error> { in try_from() method
974 fn try_from(s: &'a str) -> Result<Self, Self::Error> { in try_from() method
/commonlibrary/rust/ylong_http/ylong_http/src/request/
Dmethod.rs172 fn try_from(t: &'a [u8]) -> Result<Self, Self::Error> { in try_from() method
180 fn try_from(t: &'a str) -> Result<Self, Self::Error> { in try_from() method
/commonlibrary/rust/ylong_http/ylong_http/src/response/
Dstatus.rs211 fn try_from(value: u16) -> Result<Self, Self::Error> { in try_from() method
219 fn try_from(value: &'a [u8]) -> Result<Self, Self::Error> { in try_from() method
/commonlibrary/rust/ylong_http/ylong_http/src/
Dheaders.rs168 fn try_from(pair: (N, V)) -> Result<Self, Self::Error> { in try_from() function
271 fn try_from(name: &str) -> Result<Self, Self::Error> { in try_from() method
279 fn try_from(bytes: &[u8]) -> Result<Self, Self::Error> { in try_from() method
491 fn try_from(value: &str) -> Result<Self, Self::Error> { in try_from() method
509 fn try_from(value: &[u8]) -> Result<Self, Self::Error> { in try_from() method
Dversion.rs74 fn try_from(str: &'a str) -> Result<Self, Self::Error> { in try_from() method
/commonlibrary/rust/ylong_http/ylong_http/src/h2/
Derror.rs113 fn try_from(value: u32) -> Result<Self, Self::Error> { in try_from() method
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/config/
Dhttp.rs79 fn try_from(value: &[u8]) -> Result<Self, Self::Error> { in try_from() method