Enum ostree::RepoCommitIterResult
source · #[non_exhaustive]pub enum RepoCommitIterResult {
Error,
End,
File,
Dir,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Clone for RepoCommitIterResult
impl Clone for RepoCommitIterResult
source§fn clone(&self) -> RepoCommitIterResult
fn clone(&self) -> RepoCommitIterResult
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RepoCommitIterResult
impl Debug for RepoCommitIterResult
source§impl Display for RepoCommitIterResult
impl Display for RepoCommitIterResult
source§impl Hash for RepoCommitIterResult
impl Hash for RepoCommitIterResult
source§impl Ord for RepoCommitIterResult
impl Ord for RepoCommitIterResult
source§fn cmp(&self, other: &RepoCommitIterResult) -> Ordering
fn cmp(&self, other: &RepoCommitIterResult) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<RepoCommitIterResult> for RepoCommitIterResult
impl PartialEq<RepoCommitIterResult> for RepoCommitIterResult
source§fn eq(&self, other: &RepoCommitIterResult) -> bool
fn eq(&self, other: &RepoCommitIterResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<RepoCommitIterResult> for RepoCommitIterResult
impl PartialOrd<RepoCommitIterResult> for RepoCommitIterResult
source§fn partial_cmp(&self, other: &RepoCommitIterResult) -> Option<Ordering>
fn partial_cmp(&self, other: &RepoCommitIterResult) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for RepoCommitIterResult
impl Eq for RepoCommitIterResult
impl StructuralEq for RepoCommitIterResult
impl StructuralPartialEq for RepoCommitIterResult
Auto Trait Implementations§
impl RefUnwindSafe for RepoCommitIterResult
impl Send for RepoCommitIterResult
impl Sync for RepoCommitIterResult
impl Unpin for RepoCommitIterResult
impl UnwindSafe for RepoCommitIterResult
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more