pub struct Envelope<'a> {
pub schema_id: u64,
pub payload: &'a [u8],
/* private fields */
}Expand description
A validated envelope borrowed from the input buffer.
Fields§
§schema_id: u64The root type’s schema id.
payload: &'a [u8]The raw Graven message.
Implementations§
Trait Implementations§
impl<'a> Copy for Envelope<'a>
impl<'a> Eq for Envelope<'a>
impl<'a> StructuralPartialEq for Envelope<'a>
Auto Trait Implementations§
impl<'a> Freeze for Envelope<'a>
impl<'a> RefUnwindSafe for Envelope<'a>
impl<'a> Send for Envelope<'a>
impl<'a> Sync for Envelope<'a>
impl<'a> Unpin for Envelope<'a>
impl<'a> UnwindSafe for Envelope<'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