pub struct ReceiverOptions {
pub transmitter: String,
pub on_end_sessions: Option<Arc<dyn Fn(&[String], &SignalEvent) -> Result<(), SamlError> + Send + Sync>>,
pub tls: Option<TlsOptions>,
pub headers: Option<Arc<dyn Fn() -> Vec<(String, String)> + Send + Sync>>,
pub events_requested: Option<Vec<String>>,
pub end_on: Option<Vec<String>>,
pub session_index: Option<Arc<MemorySessionIndex>>,
pub subject_attribute: String,
pub description: String,
pub poll_interval_ms: u64,
pub max_events: u64,
pub log: Option<Arc<dyn Logger>>,
}Expand description
Configures a Shared Signals poll receiver.
Fields§
§transmitter: String§on_end_sessions: Option<Arc<dyn Fn(&[String], &SignalEvent) -> Result<(), SamlError> + Send + Sync>>§tls: Option<TlsOptions>§headers: Option<Arc<dyn Fn() -> Vec<(String, String)> + Send + Sync>>§events_requested: Option<Vec<String>>§end_on: Option<Vec<String>>§session_index: Option<Arc<MemorySessionIndex>>§subject_attribute: String§description: String§poll_interval_ms: u64§max_events: u64§log: Option<Arc<dyn Logger>>Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ReceiverOptions
impl !UnwindSafe for ReceiverOptions
impl Forget for ReceiverOptions
impl Freeze for ReceiverOptions
impl Send for ReceiverOptions
impl Sync for ReceiverOptions
impl Unpin for ReceiverOptions
impl UnsafeUnpin for ReceiverOptions
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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