pub enum ModifyConnectionResponse {
Supported(ConnectionState, FeatureFlags, Option<MonitorPageGpas>),
Unsupported,
Modified(ConnectionState),
}
Expand description
Response to a ModifyConnectionRequest.
Variants§
Supported(ConnectionState, FeatureFlags, Option<MonitorPageGpas>)
The requested version change is supported, and the relay completed the connection modification with the specified status and supports the specified feature flags. All of the feature flags supported by the relay host are included, regardless of what features were requested. If the server allocated monitor pages that are to be used for this connection, they will be included as well.
Unsupported
A version change was requested but the relay host doesn’t support that version.
Modified(ConnectionState)
The connection modification completed with the specified status. This response type must be sent if and only if no version change was requested.
Trait Implementations§
Source§impl Clone for ModifyConnectionResponse
impl Clone for ModifyConnectionResponse
Source§fn clone(&self) -> ModifyConnectionResponse
fn clone(&self) -> ModifyConnectionResponse
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 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