Searched refs:Infallible (Results 1 – 8 of 8) sorted by relevance
| /linux/rust/pin-init/examples/ |
| H A D | linked_list.rs | |
| H A D | pthread_mutex.rs | 20 use std::convert::Infallible; 51 impl From<Infallible> for Error { 52 fn from(e: Infallible) -> Self { in from()
|
| H A D | static_init.rs | 78 ) -> Result<(), core::convert::Infallible> { in __pinned_init() argument
|
| /linux/rust/pin-init/src/ |
| H A D | lib.rs | 285 convert::Infallible, 506 let x: ::core::convert::Infallible = x; 924 pub unsafe trait PinInit<T: ?Sized, E = Infallible>: Sized { 1023 pub unsafe trait Init<T: ?Sized, E = Infallible>: PinInit<T, E> { 1351 unsafe fn __init(self, slot: *mut T) -> Result<(), Infallible> { in __init() argument 1361 unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible> { in __pinned_init() argument
|
| H A D | __internal.rs | 202 let value: Result<Pin<&mut Foo>, core::convert::Infallible> = in stack_init_reuse() 209 let value: Result<Pin<&mut Foo>, core::convert::Infallible> = in stack_init_reuse()
|
| H A D | alloc.rs | 12 type AllocError = core::convert::Infallible;
|
| /linux/rust/kernel/ |
| H A D | error.rs | 248 impl From<core::convert::Infallible> for Error { 249 fn from(e: core::convert::Infallible) -> Error { in from()
|
| H A D | types.rs | 368 pin_init::pin_init_from_closure::<_, ::core::convert::Infallible>(move |slot| { in ffi_init()
|