Lines Matching defs:Infallible
285 convert::Infallible,
493 /// [`PinInit`]/[`Init`] with the error type [`Infallible`]. If you want to use a different error
503 let x: ::core::convert::Infallible = x;
589 /// This macro defaults the error to [`Infallible`]. If you need a different error, then use
788 }? ::core::convert::Infallible)
794 /// If the initialization can complete without error (or [`Infallible`]), then use [`pin_init!`].
852 /// This macro defaults the error to [`Infallible`]. If you need a different error, then use
895 }? ::core::convert::Infallible)
901 /// If the initialization can complete without error (or [`Infallible`]), then use
1057 pub unsafe trait PinInit<T: ?Sized, E = Infallible>: Sized {
1156 pub unsafe trait Init<T: ?Sized, E = Infallible>: PinInit<T, E> {
1397 unsafe fn __init(self, slot: *mut T) -> Result<(), Infallible> {
1407 unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible> {
1616 // Note: do not add uninhabited types (such as `!` or `core::convert::Infallible`) to this list;