Searched refs:Infallible (Results 1 – 11 of 11) sorted by relevance
/external/rust/crates/nix/src/sys/ |
D | reboot.rs | 6 use std::convert::Infallible; 25 pub fn reboot(how: RebootMode) -> Result<Infallible> { in reboot() argument
|
/external/rust/crates/futures-util/src/ |
D | never.rs | 18 pub type Never = core::convert::Infallible;
|
/external/rust/crates/anyhow/src/ |
D | context.rs | 3 use core::convert::Infallible; 82 impl<T> Context<T, Infallible> for Option<T> {
|
/external/rust/crates/structopt/tests/ |
D | deny-warnings.rs | 13 fn try_str(s: &str) -> Result<String, std::convert::Infallible> { in try_str() argument
|
/external/rust/crates/cast/ |
D | README.md | 15 // Infallible operations, like integer promotion, are equivalent to a normal
|
/external/rust/crates/hashbrown/src/raw/ |
D | mod.rs | 90 Infallible, enumerator 99 Fallibility::Infallible => panic!("Hash table capacity overflow"), in capacity_overflow() 108 Fallibility::Infallible => handle_alloc_error(layout), in alloc_err() 489 match Self::fallible_with_capacity(alloc, capacity, Fallibility::Infallible) { in with_capacity_in() 631 .resize(min_size, hasher, Fallibility::Infallible) in shrink_to() 647 .reserve_rehash(additional, hasher, Fallibility::Infallible) in reserve() 1480 Fallibility::Infallible, in clone() 1517 Fallibility::Infallible, in clone_from()
|
/external/rust/crates/futures-sink/src/ |
D | lib.rs | 161 use core::convert::Infallible as Never;
|
/external/rust/crates/nix/src/ |
D | unistd.rs | 14 use std::convert::Infallible; 731 pub fn execv<S: AsRef<CStr>>(path: &CStr, argv: &[S]) -> Result<Infallible> { in execv() argument 755 …cve<SA: AsRef<CStr>, SE: AsRef<CStr>>(path: &CStr, args: &[SA], env: &[SE]) -> Result<Infallible> { in execve() argument 776 pub fn execvp<S: AsRef<CStr>>(filename: &CStr, args: &[S]) -> Result<Infallible> { in execvp() argument 796 …SA: AsRef<CStr>, SE: AsRef<CStr>>(filename: &CStr, args: &[SA], env: &[SE]) -> Result<Infallible> { in execvpe() argument 824 …xecve<SA: AsRef<CStr> ,SE: AsRef<CStr>>(fd: RawFd, args: &[SA], env: &[SE]) -> Result<Infallible> { in fexecve() argument 848 env: &[SE], flags: super::fcntl::AtFlags) -> Result<Infallible> { in execveat() argument
|
/external/rust/crates/nix/test/ |
D | test_unistd.rs | 272 fn syscall_cstr_ref() -> Result<std::convert::Infallible, nix::Error> { 284 fn syscall_cstring() -> Result<std::convert::Infallible, nix::Error> { 296 fn common_test(syscall: fn() -> Result<std::convert::Infallible, nix::Error>) {
|
/external/rust/crates/nix/ |
D | CHANGELOG.md | 120 …`::nix::sys::reboot` now return `Result<Infallible>` instead of `Result<Void>` (#[1239](https://gi…
|
/external/brotli/tests/testdata/ |
D | plrabn12.txt | 10578 Infallible? yet many will presume:
|