pub struct RemoteHandle<'a>(/* private fields */);
Implementations§
Source§impl RemoteHandle<'_>
impl RemoteHandle<'_>
pub fn url(&self) -> String
pub fn name(&self) -> String
pub fn connected(&mut self) -> bool
pub fn default_branch(&self) -> Result<String, String>
pub fn is_pushable(&self) -> Result<bool, String>
pub fn push( &mut self, local_branch_name: &str, remote_branch_name: &str, _repo: &RepoHandle, ) -> Result<(), String>
Auto Trait Implementations§
impl<'a> Freeze for RemoteHandle<'a>
impl<'a> RefUnwindSafe for RemoteHandle<'a>
impl<'a> !Send for RemoteHandle<'a>
impl<'a> !Sync for RemoteHandle<'a>
impl<'a> Unpin for RemoteHandle<'a>
impl<'a> UnwindSafe for RemoteHandle<'a>
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