pub struct InteractionContextOptions {
pub connection: ConnectionConfig,
pub interaction_type: InteractionType,
pub error_handler: Option<ErrorHandler>,
pub close_handler: Option<CloseHandler>,
}Expand description
Options for creating an interaction context.
Fields§
§connection: ConnectionConfigConnection configuration.
interaction_type: InteractionTypeInteraction type.
error_handler: Option<ErrorHandler>Error handler.
close_handler: Option<CloseHandler>Close handler.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for InteractionContextOptions
impl !UnwindSafe for InteractionContextOptions
impl Freeze for InteractionContextOptions
impl Send for InteractionContextOptions
impl Sync for InteractionContextOptions
impl Unpin for InteractionContextOptions
impl UnsafeUnpin for InteractionContextOptions
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