Struct indradb::MemoryTransaction [−][src]
A transaction for manipulating in-memory datastores.
Trait Implementations
impl Debug for MemoryTransaction[src]
impl Transaction for MemoryTransaction[src]
fn create_vertex(&self, vertex: &Vertex) -> Result<bool>[src]
fn get_vertices<Q: Into<VertexQuery>>(&self, q: Q) -> Result<Vec<Vertex>>[src]
fn delete_vertices<Q: Into<VertexQuery>>(&self, q: Q) -> Result<()>[src]
fn get_vertex_count(&self) -> Result<u64>[src]
fn create_edge(&self, key: &EdgeKey) -> Result<bool>[src]
fn get_edges<Q: Into<EdgeQuery>>(&self, q: Q) -> Result<Vec<Edge>>[src]
fn delete_edges<Q: Into<EdgeQuery>>(&self, q: Q) -> Result<()>[src]
fn get_edge_count(
&self,
id: Uuid,
t: Option<&Type>,
direction: EdgeDirection
) -> Result<u64>[src]
&self,
id: Uuid,
t: Option<&Type>,
direction: EdgeDirection
) -> Result<u64>
fn get_vertex_properties(
&self,
q: VertexPropertyQuery
) -> Result<Vec<VertexProperty>>[src]
&self,
q: VertexPropertyQuery
) -> Result<Vec<VertexProperty>>
fn get_all_vertex_properties<Q: Into<VertexQuery>>(
&self,
q: Q
) -> Result<Vec<VertexProperties>>[src]
&self,
q: Q
) -> Result<Vec<VertexProperties>>
fn set_vertex_properties(
&self,
q: VertexPropertyQuery,
value: &JsonValue
) -> Result<()>[src]
&self,
q: VertexPropertyQuery,
value: &JsonValue
) -> Result<()>
fn delete_vertex_properties(&self, q: VertexPropertyQuery) -> Result<()>[src]
fn get_edge_properties(&self, q: EdgePropertyQuery) -> Result<Vec<EdgeProperty>>[src]
fn get_all_edge_properties<Q: Into<EdgeQuery>>(
&self,
q: Q
) -> Result<Vec<EdgeProperties>>[src]
&self,
q: Q
) -> Result<Vec<EdgeProperties>>
fn set_edge_properties(
&self,
q: EdgePropertyQuery,
value: &JsonValue
) -> Result<()>[src]
&self,
q: EdgePropertyQuery,
value: &JsonValue
) -> Result<()>
fn delete_edge_properties(&self, q: EdgePropertyQuery) -> Result<()>[src]
fn create_vertex_from_type(&self, t: Type) -> Result<Uuid>[src]
Auto Trait Implementations
impl RefUnwindSafe for MemoryTransaction[src]
impl Send for MemoryTransaction[src]
impl Sync for MemoryTransaction[src]
impl Unpin for MemoryTransaction[src]
impl UnwindSafe for MemoryTransaction[src]
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,
pub 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, 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.
pub 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,