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 themeselves.
As iter(…), but filters by prefix, i.e. “refs/heads”.
Please note that “refs/heads` or “refs\heads” is equivalent to “refs/heads/”
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.