pub struct MessageStream<'x> {
pub data: &'x [u8],
pub pos: usize,
}
Fields§
§data: &'x [u8]
§pos: usize
Implementations§
Source§impl<'x> MessageStream<'x>
impl<'x> MessageStream<'x>
pub fn new(data: &'x [u8]) -> MessageStream<'x>
Auto Trait Implementations§
impl<'x> Freeze for MessageStream<'x>
impl<'x> RefUnwindSafe for MessageStream<'x>
impl<'x> Send for MessageStream<'x>
impl<'x> Sync for MessageStream<'x>
impl<'x> Unpin for MessageStream<'x>
impl<'x> UnwindSafe for MessageStream<'x>
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