/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*///! Provides the [`Never`] future that never completes.
usestd::future::Future;usestd::pin::Pin;usestd::task::{Context, Poll};/// Future that never completes.
#[non_exhaustive]#[derive(Default, Debug)]pubstructNever;implNever{/// Create a new `Never` future that never resolves
pubfnnew()-> Never{Default::default()}}implFuture forNever{typeOutput=();fnpoll(self: Pin<&mutSelf>, _cx:&mutContext<'_>)->Poll<Self::Output>{Poll::Pending
}}