pub struct ServerEntry {
pub id: String,
pub document: Result<TomlDocument<Server>, CoreError>,
}Expand description
One server file as listed by Store::servers: the parsed and
validated document, or why it could not be used.
Fields§
§id: StringThe file name without .toml.
document: Result<TomlDocument<Server>, CoreError>Trait Implementations§
Auto Trait Implementations§
impl Forget for ServerEntry
impl Freeze for ServerEntrywhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Item>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Bucket<Key, Item>>: Freeze,
PhantomData<String>: Freeze,
*const LeafNode<String, String> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, String)>>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
*const LeafNode<String, ServerOverride> is !null: Freeze,
PhantomData<Box<(String, ServerOverride)>>: Freeze,
*const LeafNode<String, Map<String, Value>> is !null: Freeze,
PhantomData<Box<(String, Map<String, Value>)>>: Freeze,
impl Move for ServerEntry
impl RefUnwindSafe for ServerEntry
impl Send for ServerEntrywhere
RawVecInner: Send,
RawTable<usize>: Send,
NodeRef<Owned, String, String, LeafOrInternal>: Send,
BoxRaw<(String, String)>: Send,
NodeRef<Owned, String, Value, LeafOrInternal>: Send,
BoxRaw<(String, Value)>: Send,
NodeRef<Owned, String, ServerOverride, LeafOrInternal>: Send,
BoxRaw<(String, ServerOverride)>: Send,
NodeRef<Owned, String, Map<String, Value>, LeafOrInternal>: Send,
BoxRaw<(String, Map<String, Value>)>: Send,
impl Sync for ServerEntrywhere
RawVecInner: Sync,
RawTable<usize>: Sync,
NodeRef<Owned, String, String, LeafOrInternal>: Sync,
BoxRaw<(String, String)>: Sync,
NodeRef<Owned, String, Value, LeafOrInternal>: Sync,
BoxRaw<(String, Value)>: Sync,
NodeRef<Owned, String, ServerOverride, LeafOrInternal>: Sync,
BoxRaw<(String, ServerOverride)>: Sync,
NodeRef<Owned, String, Map<String, Value>, LeafOrInternal>: Sync,
BoxRaw<(String, Map<String, Value>)>: Sync,
impl Unpin for ServerEntrywhere
*const u8 is !null: Unpin,
*const LeafNode<String, String> is !null: Unpin,
Box<(String, String)>: Unpin,
*const LeafNode<String, Value> is !null: Unpin,
Box<(String, Value)>: Unpin,
*const LeafNode<String, ServerOverride> is !null: Unpin,
Box<(String, ServerOverride)>: Unpin,
*const LeafNode<String, Map<String, Value>> is !null: Unpin,
Box<(String, Map<String, Value>)>: Unpin,
impl UnsafeUnpin for ServerEntrywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Item>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<Key, Item>>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
*const LeafNode<String, ServerOverride> is !null: UnsafeUnpin,
PhantomData<Box<(String, ServerOverride)>>: UnsafeUnpin,
*const LeafNode<String, Map<String, Value>> is !null: UnsafeUnpin,
PhantomData<Box<(String, Map<String, Value>)>>: UnsafeUnpin,
impl UnwindSafe for ServerEntrywhere
RawVecInner: UnwindSafe,
NonNull<u8>: UnwindSafe,
BTreeMap<String, String>: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
BTreeMap<String, ServerOverride>: UnwindSafe,
BTreeMap<String, Map<String, Value>>: UnwindSafe,
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