[−][src]Struct templar::SharedContext
This context type can be shared between threads safely
Implementations
impl SharedContext
[src]
Trait Implementations
impl Clone for SharedContext
[src]
fn clone(&self) -> SharedContext
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Context for SharedContext
[src]
fn set_path_inner(&self, path: &[&Document], doc: ContextMapValue) -> Result<()>
[src]
fn get_path_inner(&self, path: &[&Document], ctx: &impl Context) -> Data
[src]
fn wrap(&self) -> ContextWrapper
[src]
fn merge<T: Into<Document>>(&self, doc: T) -> Result<()>
[src]
fn merge_path<T>(&self, path: &[&Document], doc: T) -> Result<()> where
Document: From<T>,
[src]
Document: From<T>,
fn set<T: Into<ContextMapValue>>(&self, doc: T) -> Result<()>
[src]
fn create_scope(&self) -> ScopedContext
[src]
fn set_path<T: Into<ContextMapValue>>(
&self,
path: &[&Document],
doc: T
) -> Result<()>
[src]
&self,
path: &[&Document],
doc: T
) -> Result<()>
fn get(&self) -> Data
[src]
fn get_path(&self, path: &[&Document]) -> Data
[src]
impl Debug for SharedContext
[src]
impl Default for SharedContext
[src]
Auto Trait Implementations
impl !RefUnwindSafe for SharedContext
impl Send for SharedContext
impl Sync for SharedContext
impl Unpin for SharedContext
impl !UnwindSafe for SharedContext
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,