pub struct SchemaRegistry { /* private fields */ }Implementations§
Source§impl SchemaRegistry
impl SchemaRegistry
pub fn new(limits: SchemaResourceLimits) -> Self
pub fn insert( &mut self, retrieval_uri: impl AsRef<str>, schema_text: impl Into<Arc<str>>, ) -> Result<DocumentId, CompileError>
pub fn insert_anonymous( &mut self, schema_text: impl Into<Arc<str>>, ) -> Result<DocumentId, CompileError>
Trait Implementations§
Source§impl Debug for SchemaRegistry
impl Debug for SchemaRegistry
Auto Trait Implementations§
impl Freeze for SchemaRegistry
impl RefUnwindSafe for SchemaRegistry
impl Send for SchemaRegistry
impl Sync for SchemaRegistry
impl Unpin for SchemaRegistry
impl UnsafeUnpin for SchemaRegistry
impl UnwindSafe for SchemaRegistry
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