Struct ate::loader::CompositionLoader
source · [−]Fields
loaders: Vec<Box<dyn Loader>>Trait Implementations
sourceimpl Default for CompositionLoader
impl Default for CompositionLoader
sourcefn default() -> CompositionLoader
fn default() -> CompositionLoader
Returns the “default value” for a type. Read more
sourceimpl Loader for CompositionLoader
impl Loader for CompositionLoader
sourcefn start_of_history<'life0, 'async_trait>(
&'life0 mut self,
size: usize
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn start_of_history<'life0, 'async_trait>(
&'life0 mut self,
size: usize
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Function invoked when the start of the history is being loaded
sourcefn human_message(&mut self, message: String)
fn human_message(&mut self, message: String)
Human message sent from the server to this process
sourcefn feed_events(&mut self, evts: &Vec<EventWeakData>)
fn feed_events(&mut self, evts: &Vec<EventWeakData>)
Events are being processed
sourcefn feed_load_data<'life0, 'async_trait>(
&'life0 mut self,
data: LoadData
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn feed_load_data<'life0, 'async_trait>(
&'life0 mut self,
data: LoadData
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Load data is being processed
sourcefn end_of_history<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn end_of_history<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
The last event is now received
sourcefn failed<'life0, 'async_trait>(
&'life0 mut self,
err: ChainCreationError
) -> Pin<Box<dyn Future<Output = Option<ChainCreationError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn failed<'life0, 'async_trait>(
&'life0 mut self,
err: ChainCreationError
) -> Pin<Box<dyn Future<Output = Option<ChainCreationError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Callback when the load has failed
fn relevance_check(&mut self, header: &EventWeakData) -> bool
Auto Trait Implementations
impl !RefUnwindSafe for CompositionLoader
impl Send for CompositionLoader
impl Sync for CompositionLoader
impl Unpin for CompositionLoader
impl !UnwindSafe for CompositionLoader
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more