pub struct ServeSshOptions {
pub listen: SocketAddr,
pub path: PathBuf,
pub host_key: PathBuf,
pub authorized_keys: PathBuf,
pub rebind_desired: Option<ListenRebindSlot>,
}Expand description
Options for the in-process SSH git listener.
Fields§
§listen: SocketAddr§path: PathBufRepository or base path the listener would serve.
host_key: PathBufHost key path (OpenSSH-format expected when Claimed). Default / env override.
authorized_keys path for public-key auth (when Claimed).
rebind_desired: Option<ListenRebindSlot>Optional same-process live rebind target (§17(c); B7 SSH dual-bind drain).
Implementations§
Source§impl ServeSshOptions
impl ServeSshOptions
Sourcepub fn with_defaults(listen: SocketAddr, path: PathBuf) -> Self
pub fn with_defaults(listen: SocketAddr, path: PathBuf) -> Self
Build options with default key paths under ~/.config/arks/ssh/ (or env).
Trait Implementations§
Source§impl Clone for ServeSshOptions
impl Clone for ServeSshOptions
Auto Trait Implementations§
impl Forget for ServeSshOptions
impl Freeze for ServeSshOptionswhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const ArcInner<Mutex<Option<SocketAddr>>> is !null: Freeze,
PhantomData<ArcInner<Mutex<Option<SocketAddr>>>>: Freeze,
impl Move for ServeSshOptions
impl RefUnwindSafe for ServeSshOptions
impl Send for ServeSshOptions
impl Sync for ServeSshOptions
impl Unpin for ServeSshOptions
impl UnsafeUnpin for ServeSshOptionswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ArcInner<Mutex<Option<SocketAddr>>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Mutex<Option<SocketAddr>>>>: UnsafeUnpin,
impl UnwindSafe for ServeSshOptions
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