Struct mesh_protobuf::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>>
pub fn message(self) -> Result<MessageReader<'a, 'b, R>>
Makes and returns an message reader.
sourcepub fn packed(self) -> Result<PackedReader<'a>>
pub fn packed(self) -> Result<PackedReader<'a>>
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