// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//! The public [`Connect`] trait alias.
use Result;
use Service;
use BaseUri;
use crateHyperIo;
/// A trait alias for types that establish connections to remote endpoints.
///
/// Any service that yields a hyper-compatible I/O stream from a [`BaseUri`]
/// is accepted as the transport's connector. Implemented automatically for
/// any cloneable [`Service`] with the right associated types.