pub struct AuthenticatedFrame {
pub version: u8,
pub session_id: String,
pub sequence: u64,
pub timestamp: String,
pub signed: SignedPayload,
}Expand description
A versioned, signed vsock frame envelope.
After the initial CONNECT/OK handshake and session establishment,
every frame becomes an AuthenticatedFrame containing the Ed25519-signed
inner payload (the original GuestRequest or GuestResponse JSON).
Fields§
§version: u8Protocol version (2 = authenticated, 1 = legacy/unauthenticated).
session_id: StringUnique per-session identifier (assigned during handshake).
sequence: u64Monotonically increasing sequence number for replay detection.
timestamp: StringISO 8601 timestamp of frame creation.
signed: SignedPayloadThe Ed25519-signed inner payload.
Trait Implementations§
Source§impl Clone for AuthenticatedFrame
impl Clone for AuthenticatedFrame
Source§fn clone(&self) -> AuthenticatedFrame
fn clone(&self) -> AuthenticatedFrame
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AuthenticatedFrame
impl Debug for AuthenticatedFrame
Source§impl<'de> Deserialize<'de> for AuthenticatedFrame
impl<'de> Deserialize<'de> for AuthenticatedFrame
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AuthenticatedFrame
impl RefUnwindSafe for AuthenticatedFrame
impl Send for AuthenticatedFrame
impl Sync for AuthenticatedFrame
impl Unpin for AuthenticatedFrame
impl UnsafeUnpin for AuthenticatedFrame
impl UnwindSafe for AuthenticatedFrame
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