pub struct Platform<'s> { /* private fields */ }
Expand description
An intermediate structure to hold shared state alive long enough for iteration to happen.
Return an iterator over all references, loose or packed
, sorted by their name.
Errors are returned similarly to what would happen when loose and packed refs where iterated by themselves.
As iter(…)
, but filters by prefix
, i.e. “refs/heads”.
Please note that “refs/heads` or “refs\heads” is equivalent to “refs/heads/”
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
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.