Struct gitoxide_core::net::connect::Options
source · pub struct Options {
pub version: Protocol,
pub ssh: Options,
pub trace: bool,
}Available on crate features
async-client or blocking-client only.Expand description
Options for connecting to a remote.
Fields§
§version: ProtocolUse version to set the desired protocol version to use when connecting, but note that the server may downgrade it.
ssh: OptionsAvailable on crate feature
blocking-client only.Options to use if the scheme of the URL is ssh.
trace: boolIf true, all packetlines received or sent will be passed to the facilities of the gix-trace crate.
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