Enum nando_lib::plans::plan_manager::SubmissionLocation
source · pub(crate) enum SubmissionLocation {
Local,
UnselectedRemote,
Remote(HostId),
Remotes(Vec<HostId>),
}Variants§
Implementations§
source§impl SubmissionLocation
impl SubmissionLocation
pub fn is_local(&self) -> bool
fn get_remote(&self) -> Option<HostId>
pub fn get_cardinality(&self) -> usize
Trait Implementations§
source§impl Clone for SubmissionLocation
impl Clone for SubmissionLocation
source§fn clone(&self) -> SubmissionLocation
fn clone(&self) -> SubmissionLocation
Returns a copy 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 SubmissionLocation
impl Debug for SubmissionLocation
source§impl Hash for SubmissionLocation
impl Hash for SubmissionLocation
source§impl<'a> IntoIterator for &'a SubmissionLocation
impl<'a> IntoIterator for &'a SubmissionLocation
source§impl PartialEq for SubmissionLocation
impl PartialEq for SubmissionLocation
source§fn eq(&self, other: &SubmissionLocation) -> bool
fn eq(&self, other: &SubmissionLocation) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for SubmissionLocation
impl StructuralEq for SubmissionLocation
impl StructuralPartialEq for SubmissionLocation
Auto Trait Implementations§
impl RefUnwindSafe for SubmissionLocation
impl Send for SubmissionLocation
impl Sync for SubmissionLocation
impl Unpin for SubmissionLocation
impl UnwindSafe for SubmissionLocation
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request