Struct zenoh_keyexpr::key_expr::format::OwnedKeFormat
source · pub struct OwnedKeFormat<Storage: IKeFormatStorage<'static> + 'static = Vec<Segment<'static>>> { /* private fields */ }Expand description
A KeFormat that owns its format-string.
Methods from Deref<Target = KeFormat<'static, Storage>>§
sourcepub fn formatter(&'s self) -> KeFormatter<'s, Storage>
pub fn formatter(&'s self) -> KeFormatter<'s, Storage>
Constructs a new formatter for the format.
Trait Implementations§
source§impl<Storage: IKeFormatStorage<'static> + 'static> Deref for OwnedKeFormat<Storage>
impl<Storage: IKeFormatStorage<'static> + 'static> Deref for OwnedKeFormat<Storage>
source§impl<Storage: IKeFormatStorage<'static> + 'static> FromStr for OwnedKeFormat<Storage>
impl<Storage: IKeFormatStorage<'static> + 'static> FromStr for OwnedKeFormat<Storage>
source§impl<Storage: IKeFormatStorage<'static> + 'static> TryFrom<Box<str>> for OwnedKeFormat<Storage>
impl<Storage: IKeFormatStorage<'static> + 'static> TryFrom<Box<str>> for OwnedKeFormat<Storage>
source§impl<Storage: IKeFormatStorage<'static> + 'static> TryFrom<String> for OwnedKeFormat<Storage>
impl<Storage: IKeFormatStorage<'static> + 'static> TryFrom<String> for OwnedKeFormat<Storage>
Auto Trait Implementations§
impl<Storage> Freeze for OwnedKeFormat<Storage>where
Storage: Freeze,
impl<Storage> RefUnwindSafe for OwnedKeFormat<Storage>where
Storage: RefUnwindSafe,
impl<Storage> Send for OwnedKeFormat<Storage>where
Storage: Send,
impl<Storage> Sync for OwnedKeFormat<Storage>where
Storage: Sync,
impl<Storage> Unpin for OwnedKeFormat<Storage>where
Storage: Unpin,
impl<Storage> UnwindSafe for OwnedKeFormat<Storage>where
Storage: 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