[−][src]Struct async_coap::datagram::DatagramRemoteEndpoint
RemoteEndpoint
implementation for DatagramLocalEndpoint
.
Trait Implementations
impl<US: AsyncDatagramSocket> RemoteEndpoint for DatagramRemoteEndpoint<US>
[src]
type SocketAddr = US::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 InboundContext = DatagramInboundContext<Self::SocketAddr>
Type used by closure that is passed into send()
, representing the context for the response. Read more
fn uri(&self) -> UriBuf
[src]
fn scheme(&self) -> &'static str
[src]
fn remove_host_option(&mut self)
[src]
fn clone_using_rel_ref(&self, uri: &RelRef) -> Self
[src]
fn send<'a, R, SD>(&'a self, send_desc: SD) -> BoxFuture<'a, Result<R, Error>> where
SD: SendDesc<Self::InboundContext, R> + 'a,
R: Send + 'a,
[src]
SD: SendDesc<Self::InboundContext, R> + 'a,
R: Send + 'a,
fn send_to<'a, R, SD, UF>(
&'a self,
path: UF,
send_desc: SD
) -> BoxFuture<'a, Result<R, Error>> where
SD: SendDesc<Self::InboundContext, R> + 'a,
R: Send + 'a,
UF: AsRef<RelRef>,
[src]
&'a self,
path: UF,
send_desc: SD
) -> BoxFuture<'a, Result<R, Error>> where
SD: SendDesc<Self::InboundContext, R> + 'a,
R: Send + 'a,
UF: AsRef<RelRef>,
impl<US: Clone + AsyncDatagramSocket> Clone for DatagramRemoteEndpoint<US> where
US::SocketAddr: Clone,
[src]
US::SocketAddr: Clone,
fn clone(&self) -> DatagramRemoteEndpoint<US>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<US: Debug + AsyncDatagramSocket> Debug for DatagramRemoteEndpoint<US> where
US::SocketAddr: Debug,
[src]
US::SocketAddr: Debug,
Auto Trait Implementations
impl<US> Send for DatagramRemoteEndpoint<US> where
<US as DatagramSocketTypes>::SocketAddr: Send + SocketAddrExt,
<US as DatagramSocketTypes>::SocketAddr: Send + SocketAddrExt,
impl<US> Unpin for DatagramRemoteEndpoint<US> where
<US as DatagramSocketTypes>::SocketAddr: Unpin,
<US as DatagramSocketTypes>::SocketAddr: Unpin,
impl<US> Sync for DatagramRemoteEndpoint<US> where
<US as DatagramSocketTypes>::SocketAddr: Send + SocketAddrExt + Sync,
<US as DatagramSocketTypes>::SocketAddr: Send + SocketAddrExt + Sync,
impl<US> RefUnwindSafe for DatagramRemoteEndpoint<US> where
US: RefUnwindSafe,
<US as DatagramSocketTypes>::SocketAddr: RefUnwindSafe,
US: RefUnwindSafe,
<US as DatagramSocketTypes>::SocketAddr: RefUnwindSafe,
impl<US> UnwindSafe for DatagramRemoteEndpoint<US> where
US: RefUnwindSafe,
<US as DatagramSocketTypes>::SocketAddr: UnwindSafe,
US: RefUnwindSafe,
<US as DatagramSocketTypes>::SocketAddr: UnwindSafe,
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,