Struct dbcrossbarlib::UnparsedLocator
source · pub struct UnparsedLocator(_);
Expand description
A locator which has not yet been parsed.
This is separate from BoxLocator
because BoxLocator
can only be parsed
once we have the enable_unstable
flag.
Implementations§
source§impl UnparsedLocator
impl UnparsedLocator
sourcepub fn parse(&self, enable_unstable: bool) -> Result<BoxLocator>
pub fn parse(&self, enable_unstable: bool) -> Result<BoxLocator>
Try to parse this locator.
Trait Implementations§
source§impl Clone for UnparsedLocator
impl Clone for UnparsedLocator
source§fn clone(&self) -> UnparsedLocator
fn clone(&self) -> UnparsedLocator
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 UnparsedLocator
impl Debug for UnparsedLocator
Auto Trait Implementations§
impl RefUnwindSafe for UnparsedLocator
impl Send for UnparsedLocator
impl Sync for UnparsedLocator
impl Unpin for UnparsedLocator
impl UnwindSafe for UnparsedLocator
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