pub enum HostDecision {
AcceptedByHost,
Unavailable,
}Expand description
A host’s answer to a ServerPreferred submission.
Variants§
AcceptedByHost
A host accepted the action; it will execute authoritatively and broadcast the change. The caller must NOT apply locally.
No authoritative host is reachable. The caller must not apply locally.
Trait Implementations§
Source§impl Clone for HostDecision
impl Clone for HostDecision
impl Copy for HostDecision
Source§impl Debug for HostDecision
impl Debug for HostDecision
impl Eq for HostDecision
Source§impl PartialEq for HostDecision
impl PartialEq for HostDecision
impl StructuralPartialEq for HostDecision
Auto Trait Implementations§
impl Forget for HostDecision
impl Freeze for HostDecision
impl Move for HostDecision
impl RefUnwindSafe for HostDecision
impl Send for HostDecision
impl Sync for HostDecision
impl Unpin for HostDecision
impl UnsafeUnpin for HostDecision
impl UnwindSafe for HostDecision
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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