Struct gix_transport::client::connect::Options
source · pub struct Options {
pub version: Protocol,
pub ssh: Options,
pub trace: bool,
}
Available on crate feature
blocking-client
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
.
trace: bool
If true
, all packetlines received or sent will be passed to the facilities of the gix-trace
crate.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
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