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]

[src]

Check whether the remote is (still) connected

[src]

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]

[src]

Executes the destructor for this type. Read more