Searched refs:Infallible (Results 1 – 9 of 9) sorted by relevance
| /linux-6.15/rust/pin-init/examples/ |
| H A D | linked_list.rs | 8 convert::Infallible, 32 pub fn new() -> impl PinInit<Self, Infallible> { in new() 37 }? Infallible) in new() 41 pub fn insert_next(list: &ListHead) -> impl PinInit<Self, Infallible> + '_ { in insert_next() 46 }? Infallible) in insert_next() 50 pub fn insert_prev(list: &ListHead) -> impl PinInit<Self, Infallible> + '_ { in insert_prev() 55 }? Infallible) in insert_prev()
|
| H A D | error.rs | 5 use core::convert::Infallible; 13 impl From<Infallible> for Error { 14 fn from(e: Infallible) -> Self { in from()
|
| H A D | pthread_mutex.rs | 18 use std::convert::Infallible; 48 impl From<Infallible> for Error { 49 fn from(e: Infallible) -> Self { in from()
|
| H A D | static_init.rs | 75 ) -> Result<(), core::convert::Infallible> { in __pinned_init() argument
|
| /linux-6.15/rust/pin-init/src/ |
| H A D | lib.rs | 275 convert::Infallible, 451 let x: ::core::convert::Infallible = x; 734 }? ::core::convert::Infallible) 841 }? ::core::convert::Infallible) 1003 pub unsafe trait PinInit<T: ?Sized, E = Infallible>: Sized { 1102 pub unsafe trait Init<T: ?Sized, E = Infallible>: PinInit<T, E> {
|
| H A D | __internal.rs | 201 let value: Result<Pin<&mut Foo>, core::convert::Infallible> = in stack_init_reuse() 208 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-6.15/rust/kernel/ |
| H A D | error.rs | 228 impl From<core::convert::Infallible> for Error { 229 fn from(e: core::convert::Infallible) -> Error { in from()
|
| H A D | types.rs | 355 pin_init::pin_init_from_closure::<_, ::core::convert::Infallible>(move |slot| { in ffi_init()
|