[][src]Struct networking::query::Query

pub struct Query<Req: Clone + Debug, Rsp: Clone + Debug> { /* fields omitted */ }

Implementations

impl<Req: Clone + Debug, Rsp: Clone + Debug> Query<Req, Rsp>[src]

pub fn new() -> Self[src]

pub fn send_request(&self, data: Req)[src]

pub fn send_response(&self, data: Rsp)[src]

pub fn recv_request(&mut self) -> Option<Req>[src]

pub fn recv_response(&mut self) -> Option<Rsp>[src]

Trait Implementations

impl<Req: Clone + Debug, Rsp: Clone + Debug> Clone for Query<Req, Rsp>[src]

impl<Req: Debug + Clone, Rsp: Debug + Clone> Debug for Query<Req, Rsp>[src]

impl<Req: Clone + Debug, Rsp: Clone + Debug> Default for Query<Req, Rsp>[src]

impl<Req: Clone + Debug, Rsp: Clone + Debug> Iterator for Query<Req, Rsp>[src]

type Item = Req

The type of the elements being iterated over.

Auto Trait Implementations

impl<Req, Rsp> RefUnwindSafe for Query<Req, Rsp>

impl<Req, Rsp> Send for Query<Req, Rsp> where
    Req: Send,
    Rsp: Send

impl<Req, Rsp> Sync for Query<Req, Rsp> where
    Req: Send,
    Rsp: Send

impl<Req, Rsp> Unpin for Query<Req, Rsp>

impl<Req, Rsp> UnwindSafe for Query<Req, Rsp>

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<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<I> IteratorRandom for I where
    I: Iterator
[src]

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>,