pub struct ProtoStreamReader<'a> { /* private fields */ }Implementations§
Source§impl<'a> ProtoStreamReader<'a>
impl<'a> ProtoStreamReader<'a>
pub fn new(data: &'a mut ResponseData) -> Self
pub fn read_next_delimited_proto(&mut self) -> Result<BytesMut, StatsigErr>
Auto Trait Implementations§
impl<'a> Freeze for ProtoStreamReader<'a>
impl<'a> !RefUnwindSafe for ProtoStreamReader<'a>
impl<'a> Send for ProtoStreamReader<'a>
impl<'a> Sync for ProtoStreamReader<'a>
impl<'a> Unpin for ProtoStreamReader<'a>
impl<'a> !UnwindSafe for ProtoStreamReader<'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