pub struct Record {
pub id: u8,
pub payload: Vec<u8>,
}Expand description
One command record from the append-only stream.
payload is the raw bytes following the command id — for navigation commands
this is a Chromium Pickle (including its own 4-byte length header), decoded
in a later milestone.
Fields§
§id: u8The command id (e.g. 6 = UpdateTabNavigation in the Session_* dialect).
payload: Vec<u8>Raw payload bytes (everything after the id, size - 1 bytes long).
Trait Implementations§
impl Eq for Record
impl StructuralPartialEq for Record
Auto Trait Implementations§
impl Freeze for Record
impl RefUnwindSafe for Record
impl Send for Record
impl Sync for Record
impl Unpin for Record
impl UnsafeUnpin for Record
impl UnwindSafe for Record
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