pub enum Direction {
Fetch,
Push,
}
Expand description
An enumeration of the possible directions for a remote.
Variants§
Fetch
Data will be fetched (read) from this remote.
Push
Data will be pushed (written) to this remote.
Trait Implementations§
source§impl PartialEq for Direction
impl PartialEq for Direction
impl Copy for Direction
impl Eq for Direction
impl StructuralEq for Direction
impl StructuralPartialEq for Direction
Auto Trait Implementations§
impl RefUnwindSafe for Direction
impl Send for Direction
impl Sync for Direction
impl Unpin for Direction
impl UnwindSafe for Direction
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