pub enum SessionResponseSelector {
DynamicMessagesOrProtocol {
minimum_protocol: u8,
},
DynamicMessages,
}Expand description
Session rule used to select a dynamic response identifier.
Variants§
DynamicMessagesOrProtocol
Select the dynamic form when the feature is present or the negotiated protocol meets the stated minimum.
DynamicMessages
Select the dynamic form only when the feature is present.
Trait Implementations§
Source§impl Clone for SessionResponseSelector
impl Clone for SessionResponseSelector
Source§fn clone(&self) -> SessionResponseSelector
fn clone(&self) -> SessionResponseSelector
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 SessionResponseSelector
Source§impl Debug for SessionResponseSelector
impl Debug for SessionResponseSelector
impl Eq for SessionResponseSelector
Source§impl Hash for SessionResponseSelector
impl Hash for SessionResponseSelector
Source§impl PartialEq for SessionResponseSelector
impl PartialEq for SessionResponseSelector
impl StructuralPartialEq for SessionResponseSelector
Auto Trait Implementations§
impl Freeze for SessionResponseSelector
impl RefUnwindSafe for SessionResponseSelector
impl Send for SessionResponseSelector
impl Sync for SessionResponseSelector
impl Unpin for SessionResponseSelector
impl UnsafeUnpin for SessionResponseSelector
impl UnwindSafe for SessionResponseSelector
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