[−][src]Trait twilight_cache::UpdateCache
Required methods
#[must_use]fn update<'life0, 'life1, 'async_trait>(
&'life0 self,
item: &'life1 T
) -> Pin<Box<dyn Future<Output = Result<(), Err>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
&'life0 self,
item: &'life1 T
) -> Pin<Box<dyn Future<Output = Result<(), Err>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Implementations on Foreign Types
impl UpdateCache<InMemoryCache, InMemoryCacheError> for TypingStart
[src]
fn update<'life0, 'life1, 'async_trait>(
&'life0 self,
__arg1: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
TypingStart: 'async_trait,
[src]
&'life0 self,
__arg1: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
TypingStart: 'async_trait,
impl UpdateCache<InMemoryCache, InMemoryCacheError> for RoleDelete
[src]
fn update<'life0, 'life1, 'async_trait>(
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
RoleDelete: 'async_trait,
[src]
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
RoleDelete: 'async_trait,
impl UpdateCache<InMemoryCache, InMemoryCacheError> for MemberChunk
[src]
fn update<'life0, 'life1, 'async_trait>(
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
MemberChunk: 'async_trait,
[src]
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
MemberChunk: 'async_trait,
impl UpdateCache<InMemoryCache, InMemoryCacheError> for MessageDeleteBulk
[src]
fn update<'life0, 'life1, 'async_trait>(
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
MessageDeleteBulk: 'async_trait,
[src]
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
MessageDeleteBulk: 'async_trait,
impl UpdateCache<InMemoryCache, InMemoryCacheError> for BanAdd
[src]
fn update<'life0, 'life1, 'async_trait>(
&'life0 self,
__arg1: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
BanAdd: 'async_trait,
[src]
&'life0 self,
__arg1: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
BanAdd: 'async_trait,
impl UpdateCache<InMemoryCache, InMemoryCacheError> for ChannelCreate
[src]
fn update<'life0, 'life1, 'async_trait>(
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
ChannelCreate: 'async_trait,
[src]
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
ChannelCreate: 'async_trait,
impl UpdateCache<InMemoryCache, InMemoryCacheError> for MessageCreate
[src]
fn update<'life0, 'life1, 'async_trait>(
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
MessageCreate: 'async_trait,
[src]
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
MessageCreate: 'async_trait,
impl UpdateCache<InMemoryCache, InMemoryCacheError> for ChannelUpdate
[src]
fn update<'life0, 'life1, 'async_trait>(
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
ChannelUpdate: 'async_trait,
[src]
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
ChannelUpdate: 'async_trait,
impl UpdateCache<InMemoryCache, InMemoryCacheError> for MemberUpdate
[src]
fn update<'life0, 'life1, 'async_trait>(
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
MemberUpdate: 'async_trait,
[src]
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
MemberUpdate: 'async_trait,
impl UpdateCache<InMemoryCache, InMemoryCacheError> for VoiceStateUpdate
[src]
fn update<'life0, 'life1, 'async_trait>(
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
VoiceStateUpdate: 'async_trait,
[src]
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
VoiceStateUpdate: 'async_trait,
impl UpdateCache<InMemoryCache, InMemoryCacheError> for GuildDelete
[src]
fn update<'life0, 'life1, 'async_trait>(
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
GuildDelete: 'async_trait,
[src]
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
GuildDelete: 'async_trait,
impl UpdateCache<InMemoryCache, InMemoryCacheError> for GuildUpdate
[src]
fn update<'life0, 'life1, 'async_trait>(
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
GuildUpdate: 'async_trait,
[src]
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
GuildUpdate: 'async_trait,
impl UpdateCache<InMemoryCache, InMemoryCacheError> for RoleUpdate
[src]
fn update<'life0, 'life1, 'async_trait>(
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
RoleUpdate: 'async_trait,
[src]
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
RoleUpdate: 'async_trait,
impl UpdateCache<InMemoryCache, InMemoryCacheError> for PresenceUpdate
[src]
fn update<'life0, 'life1, 'async_trait>(
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
PresenceUpdate: 'async_trait,
[src]
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
PresenceUpdate: 'async_trait,
impl UpdateCache<InMemoryCache, InMemoryCacheError> for WebhooksUpdate
[src]
fn update<'life0, 'life1, 'async_trait>(
&'life0 self,
__arg1: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
WebhooksUpdate: 'async_trait,
[src]
&'life0 self,
__arg1: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
WebhooksUpdate: 'async_trait,
impl UpdateCache<InMemoryCache, InMemoryCacheError> for BanRemove
[src]
fn update<'life0, 'life1, 'async_trait>(
&'life0 self,
__arg1: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
BanRemove: 'async_trait,
[src]
&'life0 self,
__arg1: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
BanRemove: 'async_trait,
impl UpdateCache<InMemoryCache, InMemoryCacheError> for GuildEmojisUpdate
[src]
fn update<'life0, 'life1, 'async_trait>(
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
GuildEmojisUpdate: 'async_trait,
[src]
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
GuildEmojisUpdate: 'async_trait,
impl UpdateCache<InMemoryCache, InMemoryCacheError> for MessageDelete
[src]
fn update<'life0, 'life1, 'async_trait>(
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
MessageDelete: 'async_trait,
[src]
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
MessageDelete: 'async_trait,
impl UpdateCache<InMemoryCache, InMemoryCacheError> for MessageUpdate
[src]
fn update<'life0, 'life1, 'async_trait>(
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
MessageUpdate: 'async_trait,
[src]
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
MessageUpdate: 'async_trait,
impl UpdateCache<InMemoryCache, InMemoryCacheError> for UserUpdate
[src]
fn update<'life0, 'life1, 'async_trait>(
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
UserUpdate: 'async_trait,
[src]
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
UserUpdate: 'async_trait,
impl UpdateCache<InMemoryCache, InMemoryCacheError> for VoiceServerUpdate
[src]
fn update<'life0, 'life1, 'async_trait>(
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
VoiceServerUpdate: 'async_trait,
[src]
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
VoiceServerUpdate: 'async_trait,
impl UpdateCache<InMemoryCache, InMemoryCacheError> for UnavailableGuild
[src]
fn update<'life0, 'life1, 'async_trait>(
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
UnavailableGuild: 'async_trait,
[src]
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
UnavailableGuild: 'async_trait,
impl UpdateCache<InMemoryCache, InMemoryCacheError> for ReactionAdd
[src]
fn update<'life0, 'life1, 'async_trait>(
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
ReactionAdd: 'async_trait,
[src]
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
ReactionAdd: 'async_trait,
impl UpdateCache<InMemoryCache, InMemoryCacheError> for Ready
[src]
fn update<'life0, 'life1, 'async_trait>(
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
Ready: 'async_trait,
[src]
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
Ready: 'async_trait,
impl UpdateCache<InMemoryCache, InMemoryCacheError> for ChannelPinsUpdate
[src]
fn update<'life0, 'life1, 'async_trait>(
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
ChannelPinsUpdate: 'async_trait,
[src]
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
ChannelPinsUpdate: 'async_trait,
impl UpdateCache<InMemoryCache, InMemoryCacheError> for ReactionRemoveAll
[src]
fn update<'life0, 'life1, 'async_trait>(
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
ReactionRemoveAll: 'async_trait,
[src]
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
ReactionRemoveAll: 'async_trait,
impl UpdateCache<InMemoryCache, InMemoryCacheError> for Event
[src]
fn update<'life0, 'life1, 'async_trait>(
&'life0 self,
c: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
Event: 'async_trait,
[src]
&'life0 self,
c: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
Event: 'async_trait,
impl UpdateCache<InMemoryCache, InMemoryCacheError> for ChannelDelete
[src]
fn update<'life0, 'life1, 'async_trait>(
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
ChannelDelete: 'async_trait,
[src]
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
ChannelDelete: 'async_trait,
impl UpdateCache<InMemoryCache, InMemoryCacheError> for MemberAdd
[src]
fn update<'life0, 'life1, 'async_trait>(
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
MemberAdd: 'async_trait,
[src]
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
MemberAdd: 'async_trait,
impl UpdateCache<InMemoryCache, InMemoryCacheError> for GuildIntegrationsUpdate
[src]
fn update<'life0, 'life1, 'async_trait>(
&'life0 self,
__arg1: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
GuildIntegrationsUpdate: 'async_trait,
[src]
&'life0 self,
__arg1: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
GuildIntegrationsUpdate: 'async_trait,
impl UpdateCache<InMemoryCache, InMemoryCacheError> for MemberRemove
[src]
fn update<'life0, 'life1, 'async_trait>(
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
MemberRemove: 'async_trait,
[src]
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
MemberRemove: 'async_trait,
impl UpdateCache<InMemoryCache, InMemoryCacheError> for ReactionRemove
[src]
fn update<'life0, 'life1, 'async_trait>(
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
ReactionRemove: 'async_trait,
[src]
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
ReactionRemove: 'async_trait,
impl UpdateCache<InMemoryCache, InMemoryCacheError> for RoleCreate
[src]
fn update<'life0, 'life1, 'async_trait>(
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
RoleCreate: 'async_trait,
[src]
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
RoleCreate: 'async_trait,
impl UpdateCache<InMemoryCache, InMemoryCacheError> for GuildCreate
[src]
fn update<'life0, 'life1, 'async_trait>(
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
GuildCreate: 'async_trait,
[src]
&'life0 self,
cache: &'life1 InMemoryCache
) -> Pin<Box<dyn Future<Output = Result<(), InMemoryCacheError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
GuildCreate: 'async_trait,