Variants
Tcp(TcpStream)
Tls(TlsStream<TcpStream>)
Implementations
sourceimpl IngestConnection
impl IngestConnection
pub async fn connect(
endpoint: &Url,
allow_insecure_tls: bool
) -> Result<IngestConnection, IngestClientInitializationError>
Auto Trait Implementations
impl RefUnwindSafe for IngestConnection
impl Send for IngestConnection
impl Sync for IngestConnection
impl Unpin for IngestConnection
impl UnwindSafe for IngestConnection
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more