pub struct Config {
pub launch_fallback_scheme: String,
pub connect_fallback_scheme: String,
pub connection_buffer_size: usize,
pub user: bool,
pub launch_handlers: HashMap<String, BoxedLaunchHandler>,
pub connect_handlers: HashMap<String, BoxedConnectHandler>,
}
Expand description
Configuration settings for a manager.
Fields§
§launch_fallback_scheme: String
Scheme to use when none is provided in a destination for launch
connect_fallback_scheme: String
Scheme to use when none is provided in a destination for connect
connection_buffer_size: usize
Buffer size for queue of incoming connections before blocking
user: bool
If listening as local user
launch_handlers: HashMap<String, BoxedLaunchHandler>
Handlers to use for launch requests
connect_handlers: HashMap<String, BoxedConnectHandler>
Handlers to use for connect requests
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl !RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl !UnwindSafe for Config
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