Home
last modified time | relevance | path

Searched defs:try_from (Results 1 - 22 of 22) 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
/foundation/communication/ipc/example/rust_test/service/src/
H A Dlib.rs75 fn try_from(code: u32) -> IpcResult<Self> { in try_from() functions
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/ylong_cloud_extension/src/service_impl/
H A Dtypes.rs140 fn try_from(value: &Database) -> Result<Self, SyncError> { in try_from() functions
231 fn try_from(value: &Table) -> Result<Self, Self::Error> { in try_from() functions
272 fn try_from(value: &Field) -> Result<Self, SyncError> { 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
/kernel/linux/linux-6.6/rust/kernel/
H A Dstr.rs599 fn try_from(cstr: &'a CStr) -> Result<CString, AllocError> { 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
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/ylong_cloud_extension/src/ipc_conn/
H A Dconnect.rs372 fn try_from(value: u8) -> Result<Self, Self::Error> { in try_from() functions
/kernel/linux/linux-6.6/rust/alloc/vec/
H A Dmod.rs3543 fn try_from(mut vec: Vec<T, A>) -> Result<[T; N], Vec<T, A>> { in try_from() functions
/kernel/linux/linux-6.6/rust/alloc/
H A Dboxed.rs1678 fn try_from(boxed_slice: Box<[T]>) -> Result<Self, Self::Error> { in try_from() functions
1710 fn try_from(vec: Vec<T>) -> Result<Self, Self::Error> { 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 77 milliseconds