pub enum KeepAliveFlag {
BalancerTarget,
BalancerState,
}Expand description
Individual flags that can be set in a KeepAliveMessage.
Variants§
BalancerTarget
The additional_data field contains load balancer target information.
The value of additional_data represents the optimal number of SURBs that the
Session Initiator wishes to maintain at the Session Recipient.
Mutually exclusive with BalancerState.
BalancerState
The additional_data field contains load balancer state information.
The value of additional_data represents the current number of SURBs
that the Session Recipient estimates to have.
Mutually exclusive with BalancerTarget.
Trait Implementations§
Source§impl<R: Into<FlagSet<KeepAliveFlag>>> BitAnd<R> for KeepAliveFlag
impl<R: Into<FlagSet<KeepAliveFlag>>> BitAnd<R> for KeepAliveFlag
Source§impl<R: Into<FlagSet<KeepAliveFlag>>> BitOr<R> for KeepAliveFlag
impl<R: Into<FlagSet<KeepAliveFlag>>> BitOr<R> for KeepAliveFlag
Source§impl<R: Into<FlagSet<KeepAliveFlag>>> BitXor<R> for KeepAliveFlag
impl<R: Into<FlagSet<KeepAliveFlag>>> BitXor<R> for KeepAliveFlag
Source§impl Clone for KeepAliveFlag
impl Clone for KeepAliveFlag
Source§fn clone(&self) -> KeepAliveFlag
fn clone(&self) -> KeepAliveFlag
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 KeepAliveFlag
impl Debug for KeepAliveFlag
Source§impl From<KeepAliveFlag> for FlagSet<KeepAliveFlag>
impl From<KeepAliveFlag> for FlagSet<KeepAliveFlag>
Source§fn from(value: KeepAliveFlag) -> Self
fn from(value: KeepAliveFlag) -> Self
Converts to this type from the input type.
Source§impl Not for KeepAliveFlag
impl Not for KeepAliveFlag
Source§impl PartialEq for KeepAliveFlag
impl PartialEq for KeepAliveFlag
Source§impl<R: Into<FlagSet<KeepAliveFlag>>> Rem<R> for KeepAliveFlag
impl<R: Into<FlagSet<KeepAliveFlag>>> Rem<R> for KeepAliveFlag
Source§impl<R: Into<FlagSet<KeepAliveFlag>>> Sub<R> for KeepAliveFlag
impl<R: Into<FlagSet<KeepAliveFlag>>> Sub<R> for KeepAliveFlag
impl Copy for KeepAliveFlag
impl Eq for KeepAliveFlag
impl StructuralPartialEq for KeepAliveFlag
Auto Trait Implementations§
impl Freeze for KeepAliveFlag
impl RefUnwindSafe for KeepAliveFlag
impl Send for KeepAliveFlag
impl Sync for KeepAliveFlag
impl Unpin for KeepAliveFlag
impl UnwindSafe for KeepAliveFlag
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more