pub enum LogicalGroupStatus {
Ok,
Empty,
InvalidPath,
}Expand description
Discovery outcome for a LogicalGroup. Discriminates “no children” into
“the directory exists and is empty” versus “at least one autoDiscover
path was invalid or unreadable”, so consumers can render an actionable
hint instead of “0 children, mystery”.
Variants§
Ok
At least one child zone was discovered.
Empty
Every autoDiscover path resolved to a readable directory, but
none contained child directories.
InvalidPath
At least one autoDiscover path was malformed (contained ..,
absolute) or did not resolve to a readable directory, and zero
children were discovered across all paths. When a mix of invalid and
valid paths produces children, status is Self::Ok instead.
Trait Implementations§
Source§impl Clone for LogicalGroupStatus
impl Clone for LogicalGroupStatus
Source§fn clone(&self) -> LogicalGroupStatus
fn clone(&self) -> LogicalGroupStatus
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 moreSource§impl Debug for LogicalGroupStatus
impl Debug for LogicalGroupStatus
Source§impl JsonSchema for LogicalGroupStatus
impl JsonSchema for LogicalGroupStatus
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for LogicalGroupStatus
impl PartialEq for LogicalGroupStatus
Source§fn eq(&self, other: &LogicalGroupStatus) -> bool
fn eq(&self, other: &LogicalGroupStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LogicalGroupStatus
impl Serialize for LogicalGroupStatus
impl Copy for LogicalGroupStatus
impl Eq for LogicalGroupStatus
impl StructuralPartialEq for LogicalGroupStatus
Auto Trait Implementations§
impl Freeze for LogicalGroupStatus
impl RefUnwindSafe for LogicalGroupStatus
impl Send for LogicalGroupStatus
impl Sync for LogicalGroupStatus
impl Unpin for LogicalGroupStatus
impl UnsafeUnpin for LogicalGroupStatus
impl UnwindSafe for LogicalGroupStatus
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.