Struct mesh::payload::protobuf::FieldReader
source · pub struct FieldReader<'a, 'b, R> { /* private fields */ }
Expand description
A reader for a payload field.
Implementations§
source§impl<'a, 'b, R> FieldReader<'a, 'b, R>
impl<'a, 'b, R> FieldReader<'a, 'b, R>
sourcepub fn message(self) -> Result<MessageReader<'a, 'b, R>, Error>
pub fn message(self) -> Result<MessageReader<'a, 'b, R>, Error>
Makes and returns an message reader.
sourcepub fn packed(self) -> Result<PackedReader<'a>, Error>
pub fn packed(self) -> Result<PackedReader<'a>, Error>
Gets a reader for a packed field.
Auto Trait Implementations§
impl<'a, 'b, R> Freeze for FieldReader<'a, 'b, R>
impl<'a, 'b, R> !RefUnwindSafe for FieldReader<'a, 'b, R>
impl<'a, 'b, R> !Send for FieldReader<'a, 'b, R>
impl<'a, 'b, R> !Sync for FieldReader<'a, 'b, R>
impl<'a, 'b, R> Unpin for FieldReader<'a, 'b, R>
impl<'a, 'b, R> !UnwindSafe for FieldReader<'a, 'b, R>
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