[][src]Struct warp10::Writer

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

Implementations

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

pub fn new(client: &'a Client, token: Token<'a>) -> Self[src]

pub async fn post<'_>(&'_ self, data: Vec<Data>) -> Result<Warp10Response>[src]

pub fn post_sync(&self, data: Vec<Data>) -> Result<Warp10Response>[src]

Trait Implementations

impl<'a> Debug for Writer<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Writer<'a>

impl<'a> Send for Writer<'a>

impl<'a> Sync for Writer<'a>

impl<'a> Unpin for Writer<'a>

impl<'a> UnwindSafe for Writer<'a>

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> From<T> for T[src]

impl<T> Instrument for T[src]

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

impl<T> Sealed<T> for T where
    T: ?Sized

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.

impl<T> WithSubscriber for T[src]