pub struct ClientOptions {
pub type_registry: Option<TypeRegistry>,
pub transport_tuning: TransportTuning,
pub sync_interval: Option<Duration>,
}Expand description
Options for MurmerClient::connect_with_options.
Fields§
§type_registry: Option<TypeRegistry>Type registry for creating remote actor endpoints.
Defaults to TypeRegistry::from_auto(), which auto-discovers all
actor types annotated with #[handlers] via the linkme slice.
transport_tuning: TransportTuningQUIC transport tuning parameters.
Defaults to LAN-optimized settings via TransportTuning::default().
sync_interval: Option<Duration>Periodic pull interval.
None— pull once on connect only (default; ideal for short-lived clients, CLI tools, and tests)Some(d)— re-pull everydto pick up new actor registrations (ideal for long-lived gateways and dashboards)
Trait Implementations§
Source§impl Default for ClientOptions
impl Default for ClientOptions
Source§fn default() -> ClientOptions
fn default() -> ClientOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ClientOptions
impl !RefUnwindSafe for ClientOptions
impl Send for ClientOptions
impl Sync for ClientOptions
impl Unpin for ClientOptions
impl UnsafeUnpin for ClientOptions
impl !UnwindSafe for ClientOptions
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