Struct git2::RemoteConnection[][src]

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

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

Implementations

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.

Get the remote’s default branch.

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

access remote bound to this connection

Trait Implementations

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.