pub enum ModifyConnectionResponse {
Supported(ConnectionState, FeatureFlags),
Unsupported,
}
Expand description
Response to a ModifyConnectionRequest.
Variants§
Supported(ConnectionState, FeatureFlags)
No version change was was requested, or the requested version is supported. Includes all the feature flags supported by the relay host, so that supported flags reported to the guest can be limited to that. The FeatureFlags field is not relevant if no version change was requested.
Unsupported
A version change was requested but the relay host doesn’t support that version. This response cannot be returned for a request with no version change set.
Trait Implementations§
Source§impl Clone for ModifyConnectionResponse
impl Clone for ModifyConnectionResponse
Source§fn clone(&self) -> ModifyConnectionResponse
fn clone(&self) -> ModifyConnectionResponse
Returns a copy 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 ModifyConnectionResponse
impl Debug for ModifyConnectionResponse
impl Copy for ModifyConnectionResponse
Auto Trait Implementations§
impl Freeze for ModifyConnectionResponse
impl RefUnwindSafe for ModifyConnectionResponse
impl Send for ModifyConnectionResponse
impl Sync for ModifyConnectionResponse
impl Unpin for ModifyConnectionResponse
impl UnwindSafe for ModifyConnectionResponse
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