Struct hexchat_plugin::EnsureValidContext [] [src]

pub struct EnsureValidContext<'a> { /* fields omitted */ }

A safety wrapper that ensures you're working with a valid context.

Methods

impl<'a> EnsureValidContext<'a>
[src]

[src]

Finds an open context for the given servname and channel.

[src]

Compares two nicks based on the server's case mapping.

[src]

[src]

Executes a command.

[src]

[src]

[src]

[src]

Sets the current context.

Returns true if the context is valid, false otherwise.

[src]

Prints to the hexchat buffer.

[src]

Sets a command hook

[src]

Sets a server hook

[src]

Sets a print hook

[src]

Sets a timer hook

[src]

Trait Implementations

Auto Trait Implementations

impl<'a> !Send for EnsureValidContext<'a>

impl<'a> !Sync for EnsureValidContext<'a>