pub enum AgentProtocol {
Current,
LegacyV1,
}Expand description
Agent protocol generation spoken by a connected sandbox relay.
Variants§
Current
Current protocol generation.
LegacyV1
pre-0.5 microsandbox relay handshake and agent protocol.
TODO(upgrade-0.6): Remove in 0.6.x or later once live-sandbox compatibility for versions before 0.5 is no longer supported.
Trait Implementations§
Source§impl Clone for AgentProtocol
impl Clone for AgentProtocol
Source§fn clone(&self) -> AgentProtocol
fn clone(&self) -> AgentProtocol
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AgentProtocol
Source§impl Debug for AgentProtocol
impl Debug for AgentProtocol
impl Eq for AgentProtocol
Source§impl PartialEq for AgentProtocol
impl PartialEq for AgentProtocol
Source§fn eq(&self, other: &AgentProtocol) -> bool
fn eq(&self, other: &AgentProtocol) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AgentProtocol
Auto Trait Implementations§
impl Freeze for AgentProtocol
impl RefUnwindSafe for AgentProtocol
impl Send for AgentProtocol
impl Sync for AgentProtocol
impl Unpin for AgentProtocol
impl UnsafeUnpin for AgentProtocol
impl UnwindSafe for AgentProtocol
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