pub enum Mod {
Disco(DiscoMod),
}Variants§
Trait Implementations§
Source§impl ModTrait for Mod
impl ModTrait for Mod
fn init(&mut self, aparte: &mut Aparte) -> Result<(), ()>
fn on_event(&mut self, aparte: &mut Aparte, event: &Event)
Source§fn can_handle_xmpp_message(
&mut self,
aparte: &mut Aparte,
account: &Account,
message: &XmppParsersMessage,
delay: &Option<Delay>,
) -> f64
fn can_handle_xmpp_message( &mut self, aparte: &mut Aparte, account: &Account, message: &XmppParsersMessage, delay: &Option<Delay>, ) -> f64
Return weither this message can be handled
0 means no, 1 mean definitely yes
Source§fn handle_xmpp_message(
&mut self,
aparte: &mut Aparte,
account: &Account,
message: &XmppParsersMessage,
delay: &Option<Delay>,
archive: bool,
)
fn handle_xmpp_message( &mut self, aparte: &mut Aparte, account: &Account, message: &XmppParsersMessage, delay: &Option<Delay>, archive: bool, )
Handle message
Auto Trait Implementations§
impl Freeze for Mod
impl RefUnwindSafe for Mod
impl Send for Mod
impl Sync for Mod
impl Unpin for Mod
impl UnwindSafe for Mod
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more