pub struct AdapterLayer;Expand description
The Adapter Layer bridges external protocols (like JSON-RPC) into core-native types.
Implementations§
Source§impl AdapterLayer
impl AdapterLayer
Sourcepub fn adapt_json_rpc(request: &Value) -> Result<RdfDelta, GraphError>
pub fn adapt_json_rpc(request: &Value) -> Result<RdfDelta, GraphError>
Adapts a JSON-RPC-like request map to an internal RdfDelta.
§Errors
Returns GraphError if the request is invalid or missing required fields.
Auto Trait Implementations§
impl Freeze for AdapterLayer
impl RefUnwindSafe for AdapterLayer
impl Send for AdapterLayer
impl Sync for AdapterLayer
impl Unpin for AdapterLayer
impl UnsafeUnpin for AdapterLayer
impl UnwindSafe for AdapterLayer
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