pub struct CodecMappingRef<'a>(/* private fields */);
Expand description
Reference to a deserialized CodecMapping.
Implementations§
Source§impl<'a> CodecMappingRef<'a>
impl<'a> CodecMappingRef<'a>
Sourcepub fn payload_type(&self) -> Result<u8>
pub fn payload_type(&self) -> Result<u8>
Getter for the payload_type
field.
Sourcepub fn mapped_payload_type(&self) -> Result<u8>
pub fn mapped_payload_type(&self) -> Result<u8>
Getter for the mapped_payload_type
field.
Trait Implementations§
Source§impl<'a> Clone for CodecMappingRef<'a>
impl<'a> Clone for CodecMappingRef<'a>
Source§fn clone(&self) -> CodecMappingRef<'a>
fn clone(&self) -> CodecMappingRef<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for CodecMappingRef<'a>
impl<'a> Debug for CodecMappingRef<'a>
Source§impl<'a> ReadAsRoot<'a> for CodecMappingRef<'a>
impl<'a> ReadAsRoot<'a> for CodecMappingRef<'a>
Source§impl<'a> TryFrom<CodecMappingRef<'a>> for CodecMapping
impl<'a> TryFrom<CodecMappingRef<'a>> for CodecMapping
impl<'a> Copy for CodecMappingRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for CodecMappingRef<'a>
impl<'a> RefUnwindSafe for CodecMappingRef<'a>
impl<'a> Send for CodecMappingRef<'a>
impl<'a> Sync for CodecMappingRef<'a>
impl<'a> Unpin for CodecMappingRef<'a>
impl<'a> UnwindSafe for CodecMappingRef<'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