Enum cocaine::logging::FilterResult [] [src]

pub enum FilterResult {
    Accept,
    Reject,
    Neutral,
}

Represents a filtering result for a logging event.

Variants

The filter accepts an event unconditionally. It should be accepted immediately without checking for other filters if any.

The filter denies an event unconditionally. It should be denied immediately without checking for other filters if any.

The filter is neutral with the event, i.e. it has not strong opinion what to do. It should check for other filters if any.

Trait Implementations

impl Clone for FilterResult
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for FilterResult
[src]

impl Debug for FilterResult
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for FilterResult
[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 !=.