Home
last modified time | relevance | path

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

/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/libclang-9/
Dobjc_inheritance.rs52 fn try_from(parent: Foo) -> Result<Bar, Self::Error> { in try_from() method
87 fn try_from(parent: Bar) -> Result<Baz, Self::Error> { in try_from() method
105 fn try_from(parent: Foo) -> Result<Baz, Self::Error> { in try_from() method
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/libclang-5/
Dobjc_inheritance.rs52 fn try_from(parent: Foo) -> Result<Bar, Self::Error> { in try_from() method
87 fn try_from(parent: Bar) -> Result<Baz, Self::Error> { in try_from() method
105 fn try_from(parent: Foo) -> Result<Baz, Self::Error> { in try_from() method
/third_party/rust/crates/rust-openssl/openssl/src/
Dpkey.rs806 fn try_from(ec_key: EcKey<T>) -> Result<PKey<T>, ErrorStack> { in try_from() method
814 fn try_from(pkey: PKey<T>) -> Result<EcKey<T>, ErrorStack> { in try_from() method
822 fn try_from(rsa: Rsa<T>) -> Result<PKey<T>, ErrorStack> { in try_from() method
830 fn try_from(pkey: PKey<T>) -> Result<Rsa<T>, ErrorStack> { in try_from() method
838 fn try_from(dsa: Dsa<T>) -> Result<PKey<T>, ErrorStack> { in try_from() method
846 fn try_from(pkey: PKey<T>) -> Result<Dsa<T>, ErrorStack> { in try_from() method
855 fn try_from(dh: Dh<T>) -> Result<PKey<T>, ErrorStack> { in try_from() method
863 fn try_from(pkey: PKey<T>) -> Result<Dh<T>, ErrorStack> { in try_from() method
/third_party/rust/crates/rustix/src/process/
Dprctl.rs126 fn try_from(value: i32) -> Result<Self, Self::Error> { in try_from() method
331 fn try_from(value: i32) -> Result<Self, Self::Error> { in try_from() method
390 fn try_from(value: u32) -> Result<Self, Self::Error> { in try_from() method
451 fn try_from(value: u32) -> Result<Self, Self::Error> { in try_from() method
537 fn try_from(value: u32) -> Result<Self, Self::Error> { in try_from() method
855 fn try_from(value: u32) -> Result<Self, Self::Error> { in try_from() method
914 fn try_from(value: u32) -> Result<Self, Self::Error> { in try_from() method
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
Dobjc_protocol_inheritance.rs55 fn try_from(parent: Foo) -> Result<Bar, Self::Error> { in try_from() method
/third_party/rust/crates/minimal-lexical/src/
Dheapvec.rs32 pub fn try_from(x: &[bigint::Limb]) -> Option<Self> { in try_from() method
Dstackvec.rs31 pub fn try_from(x: &[bigint::Limb]) -> Option<Self> { in try_from() method
/third_party/rust/crates/rustix/src/thread/
Dprctl.rs110 fn try_from(value: i32) -> Result<Self, Self::Error> { in try_from() method
832 fn try_from(value: u8) -> Result<Self, Self::Error> { in try_from() method
894 fn try_from(value: u32) -> Result<Self, Self::Error> { in try_from() method
/third_party/rust/crates/nix/src/sys/
Dtermios.rs1220 fn try_from() { in try_from() function
/third_party/rust/crates/io-lifetimes/src/
Dtypes.rs500 fn try_from(handle_or_invalid: HandleOrInvalid) -> Result<Self, InvalidHandleError> { in try_from() method
519 fn try_from(handle_or_null: HandleOrNull) -> Result<Self, NullHandleError> { in try_from() method
/third_party/rust/crates/nix/src/sys/socket/
Dmod.rs116 fn try_from(x: i32) -> Result<Self> { in try_from() method
/third_party/rust/crates/serde/test_suite/tests/
Dtest_annotations.rs1570 fn try_from(value: u32) -> Result<Self, Self::Error> { in try_from() method
/third_party/rust/crates/nix/src/
Derrno.rs135 fn try_from(ioerror: io::Error) -> std::result::Result<Self, io::Error> { in try_from() method