Struct git2::RemoteConnection [] [src]

pub struct RemoteConnection<'repo, 'connection, 'cb> where
    'repo: 'connection, 
{ /* fields omitted */ }

Holds callbacks for a connection to a Remote. Disconnects when dropped

Methods

impl<'repo, 'connection, 'cb> RemoteConnection<'repo, 'connection, 'cb>
[src]

Check whether the remote is (still) connected

Get the remote repository's reference advertisement list.

This list is available as soon as the connection to the remote is initiated and it remains available after disconnecting.

Trait Implementations

impl<'repo, 'connection, 'cb> Drop for RemoteConnection<'repo, 'connection, 'cb>
[src]

A method called when the value goes out of scope. Read more