Struct gix_transport::connect::Options
source · pub struct Options {
pub version: Protocol,
pub ssh: Options,
}
Available on crate feature
blocking-client
and (crate feature blocking-client
, or crate features async-client
and async-std
) and (crate features blocking-client
or async-client
) only.Expand description
Options for connecting to a remote.
Fields§
§version: Protocol
Use version
to set the desired protocol version to use when connecting, but note that the server may downgrade it.
ssh: Options
Options to use if the scheme of the URL is ssh
.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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