pub struct RemoteConnection<'repo, 'connection, 'cb> { /* fields omitted */ }
Expand description
Holds callbacks for a connection to a Remote
. Disconnects when dropped
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.
Executes the destructor for this type. Read more
impl<'repo, 'connection, 'cb> Unpin for RemoteConnection<'repo, 'connection, 'cb> where
'repo: 'connection,
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.