Home
last modified time | relevance | path

Searched defs:try_from (Results 1 - 16 of 16) sorted by relevance

/third_party/rust/crates/nix/src/
H A Dmacros.rs136 fn try_from(x: $repr) -> $crate::Result<Self> { in try_from() functions
H A Derrno.rs135 fn try_from(ioerror: io::Error) -> std::result::Result<Self, io::Error> { in try_from() functions
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
H A Dobjc_protocol_inheritance.rs55 fn try_from(parent: Foo) -> Result<Bar, Self::Error> { in try_from() functions
/third_party/rust/crates/minimal-lexical/src/
H A Dheapvec.rs32 pub fn try_from(x: &[bigint::Limb]) -> Option<Self> { in try_from() functions
H A Dstackvec.rs31 pub fn try_from(x: &[bigint::Limb]) -> Option<Self> { in try_from() functions
/third_party/rust/crates/nix/src/sys/
H A Dtermios.rs1220 fn try_from() { in try_from() functions
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/libclang-5/
H A Dobjc_inheritance.rs52 fn try_from(parent: Foo) -> Result<Bar, Self::Error> { in try_from() functions
87 fn try_from(parent: Bar) -> Result<Baz, Self::Error> { in try_from() functions
105 fn try_from(parent: Foo) -> Result<Baz, Self::Error> { in try_from() functions
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/libclang-9/
H A Dobjc_inheritance.rs52 fn try_from(parent: Foo) -> Result<Bar, Self::Error> { in try_from() functions
87 fn try_from(parent: Bar) -> Result<Baz, Self::Error> { in try_from() functions
105 fn try_from(parent: Foo) -> Result<Baz, Self::Error> { in try_from() functions
/third_party/rust/crates/io-lifetimes/src/
H A Dtypes.rs500 fn try_from(handle_or_invalid: HandleOrInvalid) -> Result<Self, InvalidHandleError> { in try_from() functions
519 fn try_from(handle_or_null: HandleOrNull) -> Result<Self, NullHandleError> { in try_from() functions
/third_party/rust/crates/rustix/src/thread/
H A Dprctl.rs110 fn try_from(value: i32) -> Result<Self, Self::Error> { in try_from() functions
832 fn try_from(value: u8) -> Result<Self, Self::Error> { in try_from() functions
894 fn try_from(value: u32) -> Result<Self, Self::Error> { in try_from() functions
/third_party/rust/crates/nix/src/sys/socket/
H A Dmod.rs116 fn try_from(x: i32) -> Result<Self> { in try_from() functions
/third_party/rust/crates/rust-openssl/openssl/src/
H A Dpkey.rs806 fn try_from(ec_key: EcKey<T>) -> Result<PKey<T>, ErrorStack> { in try_from() functions
814 fn try_from(pkey: PKey<T>) -> Result<EcKey<T>, ErrorStack> { in try_from() functions
822 fn try_from(rsa: Rsa<T>) -> Result<PKey<T>, ErrorStack> { in try_from() functions
830 fn try_from(pkey: PKey<T>) -> Result<Rsa<T>, ErrorStack> { in try_from() functions
838 fn try_from(dsa: Dsa<T>) -> Result<PKey<T>, ErrorStack> { in try_from() functions
846 fn try_from(pkey: PKey<T>) -> Result<Dsa<T>, ErrorStack> { in try_from() functions
855 fn try_from(dh: Dh<T>) -> Result<PKey<T>, ErrorStack> { in try_from() functions
863 fn try_from(pkey: PKey<T>) -> Result<Dh<T>, ErrorStack> { in try_from() functions
/third_party/rust/crates/serde/test_suite/tests/
H A Dtest_annotations.rs1570 fn try_from(value: u32) -> Result<Self, Self::Error> { in try_from() functions
/third_party/rust/crates/rustix/src/process/
H A Dprctl.rs126 fn try_from(value: i32) -> Result<Self, Self::Error> { in try_from() functions
331 fn try_from(value: i32) -> Result<Self, Self::Error> { in try_from() functions
390 fn try_from(value: u32) -> Result<Self, Self::Error> { in try_from() functions
451 fn try_from(value: u32) -> Result<Self, Self::Error> { in try_from() functions
537 fn try_from(value: u32) -> Result<Self, Self::Error> { in try_from() functions
855 fn try_from(value: u32) -> Result<Self, Self::Error> { in try_from() functions
914 fn try_from(value: u32) -> Result<Self, Self::Error> { try_from() functions
[all...]
/third_party/rust/crates/bindgen/bindgen/codegen/
H A Dmod.rs4437 fn try_from(parent: #parent_struct) -> Result<#class_name, Self::Error> { in try_from() functions
/third_party/rust/crates/memchr/bench/data/code/
H A Drust-library.rs21331 fn try_from(boxed_slice: Rc<[T]>) -> Result<Self, Self::Error> { in try_from() functions
25672 fn try_from(boxed_slice: Arc<[T]>) -> Result<Self, Self::Error> { in try_from() functions
35981 fn try_from(s: usize) -> Result<Align32, ()> { try_from() functions
49689 fn try_from(mut vec: Vec<T, A>) -> Result<[T; N], Vec<T, A>> { try_from() functions
51497 fn try_from(boxed_slice: Box<[T]>) -> Result<Self, Self::Error> { try_from() functions
[all...]

Completed in 63 milliseconds