pub fn capacity(&self) -> usize {
        match self {
            Sender::Bounded(tx) => tx.capacity(),
            Sender::Unbounded(_) => usize::MAX,
        }
    }
/// Return the capacity of the underlying channel, if it is bounded, or `usize::MAX` if it is
/// not bounded.
Return the capacity of the underlying channel, if it is bounded, or `usize::MAX` if it is
not bounded.
Return the capacity of the underlying channel if it is bounded or ` usize :: MAX ` if it is not bounded .
pub fn capacity(&self) -> usize {
        match self {
            Sender::Bounded(tx) => tx.capacity(),
            Sender::Unbounded(_) => usize::MAX,
        }
    }
pub fn capacity ( & self ) -> usize { match self { Sender :: Bounded ( tx ) => tx . capacity ( ) , Sender :: Unbounded ( _ ) => usize :: MAX , } }
Return the capacity of the underlying channel, if it is bounded, or `usize::MAX` if it is
not bounded.
Return the capacity of the underlying channel if it is bounded or ` usize :: MAX ` if it is not bounded .
&self