Enum grammers_client::client::chats::ProfilePhotoIter
source · pub enum ProfilePhotoIter {
User(IterBuffer<GetUserPhotos, Photo>),
Chat(IterBuffer<Search, Message>),
}
Variants§
User(IterBuffer<GetUserPhotos, Photo>)
Chat(IterBuffer<Search, Message>)
Implementations§
source§impl ProfilePhotoIter
impl ProfilePhotoIter
sourcepub async fn total(&mut self) -> Result<usize, InvocationError>
pub async fn total(&mut self) -> Result<usize, InvocationError>
Determines how many profile photos there are in total.
This only performs a network call if next
has not been called before.
Auto Trait Implementations§
impl Freeze for ProfilePhotoIter
impl !RefUnwindSafe for ProfilePhotoIter
impl Send for ProfilePhotoIter
impl Sync for ProfilePhotoIter
impl Unpin for ProfilePhotoIter
impl !UnwindSafe for ProfilePhotoIter
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