[][src]Enum hexchat::EatMode

pub enum EatMode {
    None,
    Hexchat,
    Plugin,
    All,
}

Represents who to hide an event or command from.

Variants

None

Do not hide the event or command from anyone. Plugins and HexChat will continue to receive this event or command, even if you have already processed it.

Hexchat

Hide this event or command from HexChat. HexChat will not process this event or command since you clearly already have, but other plugins still can.

Plugin

Hide this event or command from other plugins. Other plugins will not process this event or command since you clearly already have, but HexChat still will.

All

Hide this event or command from both HexChat and other plugins. This effectively says that you are the intended receiver of this event or command, and is the option you should use in most cases.

Auto Trait Implementations

impl Send for EatMode

impl Sync for EatMode

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Erased for T