#[non_exhaustive]pub enum Lookup<'a> {
Found(&'a Table),
NotFound,
Ambiguous(Vec<&'a Table>),
}Expand description
Result of Schema::lookup_table.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Found(&'a Table)
Exactly one table matches.
NotFound
No table matches.
Ambiguous(Vec<&'a Table>)
Unqualified name that exists in several keyspaces.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Lookup<'a>
impl<'a> RefUnwindSafe for Lookup<'a>
impl<'a> Send for Lookup<'a>
impl<'a> Sync for Lookup<'a>
impl<'a> Unpin for Lookup<'a>
impl<'a> UnsafeUnpin for Lookup<'a>
impl<'a> UnwindSafe for Lookup<'a>
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