Skip to main content

InternalPropertyAdditionOps

Trait InternalPropertyAdditionOps 

Source
pub trait InternalPropertyAdditionOps {
    type Error: From<MutationError>;

    // Required methods
    fn internal_add_properties(
        &self,
        t: EventTime,
        props: &[(usize, Prop)],
    ) -> Result<(), Self::Error>;
    fn internal_add_metadata(
        &self,
        props: &[(usize, Prop)],
    ) -> Result<(), Self::Error>;
    fn internal_update_metadata(
        &self,
        props: &[(usize, Prop)],
    ) -> Result<(), Self::Error>;
    fn internal_add_node_metadata(
        &self,
        vid: VID,
        props: &[(usize, Prop)],
    ) -> Result<EntryMut<'_, RwLockWriteGuard<'_, NodeSlot>>, Self::Error>;
    fn internal_update_node_metadata(
        &self,
        vid: VID,
        props: &[(usize, Prop)],
    ) -> Result<EntryMut<'_, RwLockWriteGuard<'_, NodeSlot>>, Self::Error>;
    fn internal_add_edge_metadata(
        &self,
        eid: EID,
        layer: usize,
        props: &[(usize, Prop)],
    ) -> Result<EdgeWGuard<'_>, Self::Error>;
    fn internal_update_edge_metadata(
        &self,
        eid: EID,
        layer: usize,
        props: &[(usize, Prop)],
    ) -> Result<EdgeWGuard<'_>, Self::Error>;
}

Required Associated Types§

Required Methods§

Source

fn internal_add_properties( &self, t: EventTime, props: &[(usize, Prop)], ) -> Result<(), Self::Error>

Source

fn internal_add_metadata( &self, props: &[(usize, Prop)], ) -> Result<(), Self::Error>

Source

fn internal_update_metadata( &self, props: &[(usize, Prop)], ) -> Result<(), Self::Error>

Source

fn internal_add_node_metadata( &self, vid: VID, props: &[(usize, Prop)], ) -> Result<EntryMut<'_, RwLockWriteGuard<'_, NodeSlot>>, Self::Error>

Source

fn internal_update_node_metadata( &self, vid: VID, props: &[(usize, Prop)], ) -> Result<EntryMut<'_, RwLockWriteGuard<'_, NodeSlot>>, Self::Error>

Source

fn internal_add_edge_metadata( &self, eid: EID, layer: usize, props: &[(usize, Prop)], ) -> Result<EdgeWGuard<'_>, Self::Error>

Source

fn internal_update_edge_metadata( &self, eid: EID, layer: usize, props: &[(usize, Prop)], ) -> Result<EdgeWGuard<'_>, Self::Error>

Implementations on Foreign Types§

Source§

impl InternalPropertyAdditionOps for TemporalGraph

Source§

type Error = MutationError

Source§

fn internal_add_properties( &self, t: EventTime, props: &[(usize, Prop)], ) -> Result<(), Self::Error>

Source§

fn internal_add_metadata( &self, props: &[(usize, Prop)], ) -> Result<(), Self::Error>

Source§

fn internal_update_metadata( &self, props: &[(usize, Prop)], ) -> Result<(), Self::Error>

Source§

fn internal_add_node_metadata( &self, vid: VID, props: &[(usize, Prop)], ) -> Result<EntryMut<'_, RwLockWriteGuard<'_, NodeSlot>>, Self::Error>

Source§

fn internal_update_node_metadata( &self, vid: VID, props: &[(usize, Prop)], ) -> Result<EntryMut<'_, RwLockWriteGuard<'_, NodeSlot>>, Self::Error>

Source§

fn internal_add_edge_metadata( &self, eid: EID, layer: usize, props: &[(usize, Prop)], ) -> Result<EdgeWGuard<'_>, Self::Error>

Source§

fn internal_update_edge_metadata( &self, eid: EID, layer: usize, props: &[(usize, Prop)], ) -> Result<EdgeWGuard<'_>, Self::Error>

Implementors§