pub struct MobKitConsoleAggregator { /* private fields */ }Implementations§
Source§impl MobKitConsoleAggregator
impl MobKitConsoleAggregator
pub fn new(store: Arc<dyn ConsoleLogStore>) -> Self
pub fn new_with_options( store: Arc<dyn ConsoleLogStore>, options: ConsoleAggregatorOptions, ) -> Self
pub fn in_memory() -> Self
pub fn in_memory_with_options(options: ConsoleAggregatorOptions) -> Self
pub fn subscribe(&self) -> Receiver<ConsoleTimelineEvent>
pub fn store(&self) -> Arc<dyn ConsoleLogStore> ⓘ
pub fn register_runtime(&self, registration: ConsoleRuntimeRegistration)
pub async fn list_identities( &self, ) -> ConsoleLogResult<Vec<ConsoleIdentityRecord>>
pub async fn inspect_identity( &self, identity: &str, ) -> ConsoleLogResult<Option<ConsoleIdentityInspection>>
pub async fn retire_identity(&self, identity: &str) -> ConsoleLogResult<bool>
pub async fn clear_timeline_frames(&self) -> ConsoleLogResult<()>
pub async fn query_timeline( &self, query: ConsoleTimelineQuery, ) -> ConsoleLogResult<ConsoleTimelinePage>
pub async fn query_timeline_windowed( &self, query: ConsoleTimelineWindowQuery, ) -> ConsoleLogResult<ConsoleTimelineWindowPage>
pub async fn refresh_session_history(&self) -> ConsoleLogResult<()>
pub async fn latest_cursor(&self) -> ConsoleLogResult<Option<ConsoleCursor>>
pub async fn timeline_event_visible(&self, event: &ConsoleTimelineEvent) -> bool
pub async fn timeline_frame_visible_for_query( &self, frame: &ConsoleFrame, identity: Option<&str>, ) -> bool
pub async fn send( &self, request: ConsoleSendRequest, ) -> Result<ConsoleInteractionAccepted, ConsoleSendError>
pub async fn reserve_identity_first_interaction( &self, request: ConsoleSendRequest, session_id: Option<&str>, ) -> Result<ConsoleInteractionAccepted, ConsoleSendError>
pub async fn mark_interaction_delivery_failed( &self, input_frame_id: &str, ) -> Result<(), ConsoleSendError>
pub async fn mark_interaction_delivered( &self, input_frame_id: &str, ) -> Result<(), ConsoleSendError>
pub async fn mark_steer_interaction_delivered( &self, input_frame_id: &str, interaction_id: &str, ) -> Result<(), ConsoleSendError>
pub async fn binary_blob_store_for_identity( &self, identity: &str, ) -> Result<Option<Arc<dyn BinaryBlobStore>>, ConsoleSendError>
pub fn binary_blob_stores(&self) -> Vec<Arc<dyn BinaryBlobStore>>
Trait Implementations§
Source§impl Clone for MobKitConsoleAggregator
impl Clone for MobKitConsoleAggregator
Source§fn clone(&self) -> MobKitConsoleAggregator
fn clone(&self) -> MobKitConsoleAggregator
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MobKitConsoleAggregator
impl !RefUnwindSafe for MobKitConsoleAggregator
impl Send for MobKitConsoleAggregator
impl Sync for MobKitConsoleAggregator
impl Unpin for MobKitConsoleAggregator
impl UnsafeUnpin for MobKitConsoleAggregator
impl !UnwindSafe for MobKitConsoleAggregator
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more