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]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl<'repo, 'connection, 'cb> !Send for RemoteConnection<'repo, 'connection, 'cb>

impl<'repo, 'connection, 'cb> !Sync for RemoteConnection<'repo, 'connection, 'cb>