Struct coap_handler_implementations::helpers::MaskingUriUpToPath[][src]

pub struct MaskingUriUpToPath<'m, M: ReadableMessage>(pub &'m M);

Wrapper around a ReadableMessage that hides the Uri-Host and Uri-Path options from view

This is used by a crate::HandlerBuilder (in particular, its path-based crate::ForkingHandler) to free the resources from the strange duty of skipping over a critical option they are unaware of.

Trait Implementations

impl<'m, M: ReadableMessage> ReadableMessage for MaskingUriUpToPath<'m, M>[src]

type Code = M::Code

type MessageOption = M::MessageOption

Type of an individual option, indiciating its option number and value

type OptionsIter = MaskingUriUpToPathIter<M::OptionsIter>

See options

Auto Trait Implementations

impl<'m, M> Send for MaskingUriUpToPath<'m, M> where
    M: Sync

impl<'m, M> Sync for MaskingUriUpToPath<'m, M> where
    M: Sync

impl<'m, M> Unpin for MaskingUriUpToPath<'m, M>

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