[][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 RefUnwindSafe for EatMode

impl Send for EatMode

impl Sync for EatMode

impl Unpin for EatMode

impl UnwindSafe for EatMode

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> Erased for T

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.