[][src]Struct async_coap::null::NullLocalEndpoint

pub struct NullLocalEndpoint
where
    Self: Send + Sync
;

A dummy endpoint implementation that doesn't do anything. Useful for testing.

Trait Implementations

impl LocalEndpoint for NullLocalEndpoint[src]

type SocketAddr = SocketAddr

The SocketAddr type to use with this local endpoint. This is usually simply std::net::SocketAddr, but may be different in some cases (like for CoAP-SMS endpoints). Read more

type SocketError = Error

The error type associated with errors generated by socket and address-lookup operations. Typically, this is std::io::Error, but it may be different if Self::SocketAddr isn't std::net::SocketAddr. Read more

type DefaultTransParams = StandardCoapConstants

The trait representing the default transmission parameters to use.

type RemoteEndpoint = NullRemoteEndpoint

The concrete type for a RemoteEndpoint associated with this local endpoint.

type LookupStream = Iter<IntoIter<Self::SocketAddr>>

The concrete return type of the lookup() method.

type InboundContext = NullInboundContext

Type used by closure that is passed into send(), representing the context for the response. Read more

type RespondableInboundContext = NullRespondableInboundContext

Type used by closure that is passed into receive(), representing the context for inbound requests. Read more

impl Debug for NullLocalEndpoint where
    Self: Send + Sync
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,