Enum jami_rs::Event[][src]

pub enum Event<I> {
    Input(I),
    Message {
        account_id: String,
        conversation_id: String,
        payloads: HashMap<String, String>,
    },
    ConversationReady(StringString),
    ConversationRemoved(StringString),
    ConversationRequest(StringString),
    RegistrationStateChanged(StringString),
    ProfileReceived(StringStringString),
    RegisteredNameFound(Stringu64StringString),
    AccountsChanged(),
    ConversationLoaded(u32StringStringVec<HashMap<String, String>>),
    DataTransferEvent(StringStringu64i32),
    IncomingTrustRequest(StringStringVec<u8>, u64),
    MemberPresenceChanged(StringStringbool),
    Resize,
}

Variants

Input(I)
Message

Fields of Message

account_id: Stringconversation_id: Stringpayloads: HashMap<String, String>
ConversationReady(StringString)
ConversationRemoved(StringString)
ConversationRequest(StringString)
RegistrationStateChanged(StringString)
ProfileReceived(StringStringString)
RegisteredNameFound(Stringu64StringString)
AccountsChanged()
ConversationLoaded(u32StringStringVec<HashMap<String, String>>)
DataTransferEvent(StringStringu64i32)
IncomingTrustRequest(StringStringVec<u8>, u64)
MemberPresenceChanged(StringStringbool)
Resize

Trait Implementations

impl<I: Debug> Debug for Event<I>[src]

Auto Trait Implementations

impl<I> RefUnwindSafe for Event<I> where
    I: RefUnwindSafe
[src]

impl<I> Send for Event<I> where
    I: Send
[src]

impl<I> Sync for Event<I> where
    I: Sync
[src]

impl<I> Unpin for Event<I> where
    I: Unpin
[src]

impl<I> UnwindSafe for Event<I> where
    I: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.