Struct netidx::resolver::ResolverWrite[][src]

pub struct ResolverWrite(_);

Implementations

impl ResolverWrite[src]

pub fn new(default: Config, desired_auth: Auth, writer_addr: SocketAddr) -> Self[src]

pub async fn send(
    &self,
    batch: &Pooled<Vec<ToWrite>>
) -> Result<Pooled<Vec<FromWrite>>>
[src]

pub async fn publish<I: IntoIterator<Item = Path>>(
    &self,
    batch: I
) -> Result<()>
[src]

pub async fn publish_with_flags<I: IntoIterator<Item = (Path, Option<u16>)>>(
    &self,
    batch: I
) -> Result<()>
[src]

pub async fn publish_default<I: IntoIterator<Item = Path>>(
    &self,
    batch: I
) -> Result<()>
[src]

pub async fn publish_default_with_flags<I: IntoIterator<Item = (Path, Option<u16>)>>(
    &self,
    batch: I
) -> Result<()>
[src]

pub async fn unpublish<I: IntoIterator<Item = Path>>(
    &self,
    batch: I
) -> Result<()>
[src]

pub async fn clear(&self) -> Result<()>[src]

Trait Implementations

impl Clone for ResolverWrite[src]

impl Debug for ResolverWrite[src]

Auto Trait Implementations

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, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>,