pub struct SessionEventRouterOptions {
pub upstream: SseOptions,
pub session_capacity: usize,
pub subscriber_capacity: usize,
}Expand description
Options for SessionEventRouter.
Fields§
§upstream: SseOptionsUpstream /event raw stream subscription options.
session_capacity: usizePer-session fan-out channel capacity (default: 256).
subscriber_capacity: usizePer-subscriber output channel capacity (default: 256).
Trait Implementations§
Source§impl Clone for SessionEventRouterOptions
impl Clone for SessionEventRouterOptions
Source§fn clone(&self) -> SessionEventRouterOptions
fn clone(&self) -> SessionEventRouterOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SessionEventRouterOptions
impl Debug for SessionEventRouterOptions
Source§impl Default for SessionEventRouterOptions
impl Default for SessionEventRouterOptions
impl Copy for SessionEventRouterOptions
Auto Trait Implementations§
impl Freeze for SessionEventRouterOptions
impl RefUnwindSafe for SessionEventRouterOptions
impl Send for SessionEventRouterOptions
impl Sync for SessionEventRouterOptions
impl Unpin for SessionEventRouterOptions
impl UnwindSafe for SessionEventRouterOptions
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