pub type MessageIter = IterBuffer<GetHistory, Message>;Expand description
Iterator returned by Client::iter_messages.
Aliased Type§
pub struct MessageIter { /* private fields */ }Implementations§
Source§impl MessageIter
impl MessageIter
Sourcepub async fn total(&mut self) -> Result<usize, InvocationError>
pub async fn total(&mut self) -> Result<usize, InvocationError>
Determines how many messages there are in total.
This only performs a network call if next has not been called before.