[−][src]Struct async_coap::datagram::DatagramRespondableInboundContext
Concrete instance of LocalEndpoint::RespondableInboundContext
for DatagramLocalEndpoint
.
Trait Implementations
impl<SA: SocketAddrExt> InboundContext for DatagramRespondableInboundContext<SA>
[src]
type SocketAddr = SA
The SocketAddr
type from the associated LocalEndpoint
.
fn remote_socket_addr(&self) -> Self::SocketAddr
[src]
fn is_dupe(&self) -> bool
[src]
fn message(&self) -> &dyn MessageRead
[src]
impl<UA: SocketAddrExt> RespondableInboundContext for DatagramRespondableInboundContext<UA>
[src]
fn is_multicast(&self) -> bool
[src]
fn is_fake(&self) -> bool
[src]
fn respond<F>(&self, msg_gen: F) -> Result<(), Error> where
F: Fn(&mut dyn MessageWrite) -> Result<(), Error>,
[src]
F: Fn(&mut dyn MessageWrite) -> Result<(), Error>,
impl<SA> Debug for DatagramRespondableInboundContext<SA> where
SA: Debug,
Self: Send,
[src]
SA: Debug,
Self: Send,
Auto Trait Implementations
impl<SA> Unpin for DatagramRespondableInboundContext<SA> where
SA: Unpin,
SA: Unpin,
impl<SA> !Sync for DatagramRespondableInboundContext<SA>
impl<SA> Send for DatagramRespondableInboundContext<SA>
impl<SA> UnwindSafe for DatagramRespondableInboundContext<SA> where
SA: UnwindSafe,
SA: UnwindSafe,
impl<SA> !RefUnwindSafe for DatagramRespondableInboundContext<SA>
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
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>,