pub enum ModifyRelayResponse {
Supported(ConnectionState, FeatureFlags),
Unsupported,
Modified(ConnectionState),
}
Expand description
A response from the relay to a ModifyRelayRequest from the server.
Variants§
Supported(ConnectionState, FeatureFlags)
The requested version change is supported, and the relay completed the connection modification with the specified status. All of the feature flags supported by the relay host are included, regardless of what features were 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.
Modified(ConnectionState)
The connection modification completed with the specified status. This response must be sent if no version change was requested.
Trait Implementations§
Source§impl Clone for ModifyRelayResponse
impl Clone for ModifyRelayResponse
Source§fn clone(&self) -> ModifyRelayResponse
fn clone(&self) -> ModifyRelayResponse
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 ModifyRelayResponse
impl Debug for ModifyRelayResponse
impl Copy for ModifyRelayResponse
Auto Trait Implementations§
impl Freeze for ModifyRelayResponse
impl RefUnwindSafe for ModifyRelayResponse
impl Send for ModifyRelayResponse
impl Sync for ModifyRelayResponse
impl Unpin for ModifyRelayResponse
impl UnwindSafe for ModifyRelayResponse
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