Struct fruently::fluent::Fluent [] [src]

pub struct Fluent<'a, A> where
    A: ToSocketAddrs
{ /* fields omitted */ }

Methods

impl<'a, A: ToSocketAddrs> Fluent<'a, A>
[src]

[src]

Create Fluent type.

Usage

use fruently::fluent::Fluent;
let fruently_with_str_tag = Fluent::new("127.0.0.1:24224", "test");
let fruently_with_string_tag = Fluent::new("127.0.0.1:24224", "test".to_string());

[src]

Trait Implementations

impl<'a, A: Debug> Debug for Fluent<'a, A> where
    A: ToSocketAddrs
[src]

[src]

Formats the value using the given formatter.

impl<'a, A: Clone> Clone for Fluent<'a, A> where
    A: ToSocketAddrs
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a, A: PartialEq> PartialEq for Fluent<'a, A> where
    A: ToSocketAddrs
[src]

[src]

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

[src]

This method tests for !=.

impl<'a, A: ToSocketAddrs> JsonForwardable for Fluent<'a, A>
[src]

[src]

Post record into Fluentd. Without time version.

[src]

Post record into Fluentd. With time version.

impl<'a, A: ToSocketAddrs> MsgpackForwardable for Fluent<'a, A>
[src]

[src]

Post record into Fluentd. Without time version.

[src]

Post record into Fluentd. With time version.

impl<'a, A: ToSocketAddrs> Forwardable for Fluent<'a, A>
[src]

[src]

Post Vec<Entry<T>> into Fluentd.