Struct coap_handler_implementations::helpers::MaskingUriUpToPath [−][src]
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
See code; also used with MinimalWritableMessage::set_code()
type MessageOption = M::MessageOption
Type of an individual option, indiciating its option number and value
type OptionsIter = MaskingUriUpToPathIter<M::OptionsIter>
See options
fn options<'a>(&'a self) -> Self::OptionsIter
[src]
fn code(&self) -> M::Code
[src]
fn payload(&self) -> &[u8]
[src]
Auto Trait Implementations
impl<'m, M> Send for MaskingUriUpToPath<'m, M> where
M: Sync,
M: Sync,
impl<'m, M> Sync for MaskingUriUpToPath<'m, M> where
M: Sync,
M: Sync,
impl<'m, M> Unpin for MaskingUriUpToPath<'m, M>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for 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.
pub 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>,