pub struct CfgValGetResponseRef<'a>(/* private fields */);Expand description
Contains a reference to an underlying buffer, contains accessor methods to retrieve data.
Implementations§
Source§impl<'a> CfgValGetResponseRef<'a>
impl<'a> CfgValGetResponseRef<'a>
pub fn as_bytes(&self) -> &[u8] ⓘ
pub fn payload_len(&self) -> usize
pub fn to_owned(&self) -> CfgValGetResponseOwned
Sourcepub fn layers_raw(&self) -> u8
pub fn layers_raw(&self) -> u8
Sourcepub fn layers(&self) -> CfgLayerGet
pub fn layers(&self) -> CfgLayerGet
Sourcepub fn cfg_data(&self) -> CfgValIter<'_> ⓘ
pub fn cfg_data(&self) -> CfgValIter<'_> ⓘ
Trait Implementations§
Source§impl Debug for CfgValGetResponseRef<'_>
impl Debug for CfgValGetResponseRef<'_>
Source§impl<'a> From<&CfgValGetResponseRef<'a>> for CfgValGetResponseOwned
impl<'a> From<&CfgValGetResponseRef<'a>> for CfgValGetResponseOwned
Source§fn from(packet: &CfgValGetResponseRef<'a>) -> Self
fn from(packet: &CfgValGetResponseRef<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<CfgValGetResponseRef<'a>> for CfgValGetResponseOwned
impl<'a> From<CfgValGetResponseRef<'a>> for CfgValGetResponseOwned
Source§fn from(packet: CfgValGetResponseRef<'a>) -> Self
fn from(packet: CfgValGetResponseRef<'a>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for CfgValGetResponseRef<'a>
impl<'a> RefUnwindSafe for CfgValGetResponseRef<'a>
impl<'a> Send for CfgValGetResponseRef<'a>
impl<'a> Sync for CfgValGetResponseRef<'a>
impl<'a> Unpin for CfgValGetResponseRef<'a>
impl<'a> UnwindSafe for CfgValGetResponseRef<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more