Home
last modified time | relevance | path

Searched refs:Infallible (Results 1 – 11 of 11) sorted by relevance

/external/rust/crates/nix/src/sys/
Dreboot.rs6 use std::convert::Infallible;
25 pub fn reboot(how: RebootMode) -> Result<Infallible> { in reboot() argument
/external/rust/crates/futures-util/src/
Dnever.rs18 pub type Never = core::convert::Infallible;
/external/rust/crates/anyhow/src/
Dcontext.rs3 use core::convert::Infallible;
82 impl<T> Context<T, Infallible> for Option<T> {
/external/rust/crates/structopt/tests/
Ddeny-warnings.rs13 fn try_str(s: &str) -> Result<String, std::convert::Infallible> { in try_str() argument
/external/rust/crates/cast/
DREADME.md15 // Infallible operations, like integer promotion, are equivalent to a normal
/external/rust/crates/hashbrown/src/raw/
Dmod.rs90 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/
Dlib.rs161 use core::convert::Infallible as Never;
/external/rust/crates/nix/src/
Dunistd.rs14 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/
Dtest_unistd.rs272 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/
DCHANGELOG.md120 …`::nix::sys::reboot` now return `Result<Infallible>` instead of `Result<Void>` (#[1239](https://gi…
/external/brotli/tests/testdata/
Dplrabn12.txt10578 Infallible? yet many will presume: