Struct libstrophe::Context [] [src]

pub struct Context<'lg> { /* fields omitted */ }

Proxy to underlying xmpp_ctx_t struct.

Most of the methods in this struct mimic the methods of the underlying library. So please see libstrophe docs for context and event loop plus ctx.c and event.c sources. Only where it's not the case or there is some additional logic involved then you can see the method description.

This struct implements:

Methods

impl<'lg> Context<'lg>
[src]

[src]

[src]

Shortcut to return a new context with default logger.

Equivalent to passing default logger to Context constructor. The result is also wrapped in Arc to allow multiple ownership.

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl<'lg> Debug for Context<'lg>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'lg> Hash for Context<'lg>
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl<'lg> PartialEq for Context<'lg>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl<'lg> Eq for Context<'lg>
[src]

impl<'lg> Drop for Context<'lg>
[src]

[src]

impl<'lg> Send for Context<'lg>
[src]

Auto Trait Implementations

impl<'lg> !Sync for Context<'lg>