pub enum Distributed {
Null,
Bool(bool),
I64(Le<i64>),
U64(Le<u64>),
F64(Le<f64>),
String(Point<String>),
Array(Point<Vec<Self>>),
Object(Point<BTreeMap<LpString, Self>>),
}Available on crate feature
distributed only.Variants§
Null
Bool(bool)
I64(Le<i64>)
U64(Le<u64>)
F64(Le<f64>)
String(Point<String>)
Array(Point<Vec<Self>>)
Object(Point<BTreeMap<LpString, Self>>)
Implementations§
Trait Implementations§
Source§impl Clone for Distributed
impl Clone for Distributed
Source§fn clone(&self) -> Distributed
fn clone(&self) -> Distributed
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 Default for Distributed
impl Default for Distributed
Source§fn default() -> Distributed
fn default() -> Distributed
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Distributed
impl<'de> Deserialize<'de> for Distributed
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Enum for Distributed
impl Enum for Distributed
Source§impl<__I: PointInput<Extra: Send + Sync + Clone>> EnumParse<__I> for Distributed
impl<__I: PointInput<Extra: Send + Sync + Clone>> EnumParse<__I> for Distributed
Source§fn parse_as_enum(input: I) -> Result<Self, Error>
fn parse_as_enum(input: I) -> Result<Self, Error>
For implementing
Parse::parse.Source§impl<__I: PointInput<Extra: Send + Sync>> EnumParseInline<__I> for Distributedwhere
bool: ParseInline<__I> + Inline<__I::Extra>,
Le<i64>: ParseInline<__I> + Inline<__I::Extra>,
Le<u64>: ParseInline<__I> + Inline<__I::Extra>,
Le<f64>: ParseInline<__I> + Inline<__I::Extra>,
Point<String>: ParseInline<__I> + Inline<__I::Extra>,
impl<__I: PointInput<Extra: Send + Sync>> EnumParseInline<__I> for Distributedwhere
bool: ParseInline<__I> + Inline<__I::Extra>,
Le<i64>: ParseInline<__I> + Inline<__I::Extra>,
Le<u64>: ParseInline<__I> + Inline<__I::Extra>,
Le<f64>: ParseInline<__I> + Inline<__I::Extra>,
Point<String>: ParseInline<__I> + Inline<__I::Extra>,
Source§fn parse_as_inline_enum(input: &mut I) -> Result<Self, Error>
fn parse_as_inline_enum(input: &mut I) -> Result<Self, Error>
For implementing
ParseInline::parse_inline.Source§impl InlineOutput for Distributedwhere
bool: InlineOutput,
Le<i64>: InlineOutput,
Le<u64>: InlineOutput,
Le<f64>: InlineOutput,
Point<String>: InlineOutput,
Point<Vec<Self>>: InlineOutput,
Point<BTreeMap<LpString, Self>>: InlineOutput,
impl InlineOutput for Distributedwhere
bool: InlineOutput,
Le<i64>: InlineOutput,
Le<u64>: InlineOutput,
Le<f64>: InlineOutput,
Point<String>: InlineOutput,
Point<Vec<Self>>: InlineOutput,
Point<BTreeMap<LpString, Self>>: InlineOutput,
fn slice_to_output(slice: &[Self], output: &mut dyn Output)where
Self: Sized,
Source§impl ListHashes for Distributed
impl ListHashes for Distributed
fn list_hashes(&self, visitor: &mut impl FnMut(Hash))
fn topology_hash(&self) -> Hash
fn point_count(&self) -> usize
Source§impl MaybeHasNiche for Distributed
impl MaybeHasNiche for Distributed
Source§impl<__I: PointInput<Extra: Send + Sync + Clone>> Parse<__I> for Distributed
impl<__I: PointInput<Extra: Send + Sync + Clone>> Parse<__I> for Distributed
Source§impl<__I: PointInput<Extra: Send + Sync>> ParseInline<__I> for Distributedwhere
bool: ParseInline<__I> + Inline<__I::Extra>,
Le<i64>: ParseInline<__I> + Inline<__I::Extra>,
Le<u64>: ParseInline<__I> + Inline<__I::Extra>,
Le<f64>: ParseInline<__I> + Inline<__I::Extra>,
Point<String>: ParseInline<__I> + Inline<__I::Extra>,
impl<__I: PointInput<Extra: Send + Sync>> ParseInline<__I> for Distributedwhere
bool: ParseInline<__I> + Inline<__I::Extra>,
Le<i64>: ParseInline<__I> + Inline<__I::Extra>,
Le<u64>: ParseInline<__I> + Inline<__I::Extra>,
Le<f64>: ParseInline<__I> + Inline<__I::Extra>,
Point<String>: ParseInline<__I> + Inline<__I::Extra>,
Source§fn parse_inline(input: &mut __I) -> Result<Self>
fn parse_inline(input: &mut __I) -> Result<Self>
Parse without consuming the whole stream. Errors on unexpected EOF.
Source§fn parse_as_inline(input: I) -> Result<Self, Error>
fn parse_as_inline(input: I) -> Result<Self, Error>
For implementing
Parse::parse.Source§fn parse_vec(input: I) -> Result<Vec<Self>, Error>
fn parse_vec(input: I) -> Result<Vec<Self>, Error>
Parse a
Vec of Self. Customisable for optimisations.Source§fn parse_vec_n(input: &mut I, n: usize) -> Result<Vec<Self>, Error>
fn parse_vec_n(input: &mut I, n: usize) -> Result<Vec<Self>, Error>
Parse a
Vec of Self of length n. Customisable for optimisations.Source§fn parse_array<const N: usize>(input: &mut I) -> Result<[Self; N], Error>
fn parse_array<const N: usize>(input: &mut I) -> Result<[Self; N], Error>
Parse an array of
Self. Customisable for optimisations.Source§fn parse_generic_array<N>(input: &mut I) -> Result<GenericArray<Self, N>, Error>where
N: ArrayLength,
fn parse_generic_array<N>(input: &mut I) -> Result<GenericArray<Self, N>, Error>where
N: ArrayLength,
Parse a
GenericArray of Self. Customisable for optimisations.Source§impl Serialize for Distributed
impl Serialize for Distributed
Source§impl ToOutput for Distributed
impl ToOutput for Distributed
Source§impl Topological for Distributed
impl Topological for Distributed
Auto Trait Implementations§
impl Freeze for Distributed
impl !RefUnwindSafe for Distributed
impl Send for Distributed
impl Sync for Distributed
impl Unpin for Distributed
impl UnsafeUnpin for Distributed
impl !UnwindSafe for Distributed
Blanket Implementations§
Source§impl<T> AsAny for T
impl<T> AsAny for T
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