pub struct ObjectMapDiff { /* private fields */ }Implementations§
Source§impl ObjectMapDiff
impl ObjectMapDiff
pub fn new( owner: Option<ObjectId>, dec_id: Option<ObjectId>, cache: ObjectMapOpEnvCacheRef, content_type: ObjectMapSimpleContentType, expand_altered: bool, ) -> Self
pub fn diff_objects<'life0, 'life1, 'life2, 'async_recursion>(
cache: &'life0 ObjectMapOpEnvCacheRef,
prev: &'life1 ObjectId,
next: &'life2 ObjectId,
expand_altered: bool,
) -> Pin<Box<dyn Future<Output = BuckyResult<ObjectId>> + Send + 'async_recursion>>where
'life0: 'async_recursion,
'life1: 'async_recursion,
'life2: 'async_recursion,
pub async fn apply_diff( cache: &ObjectMapOpEnvCacheRef, source_id: &ObjectId, diff_id: &ObjectId, ) -> BuckyResult<ObjectId>
pub async fn dump_diff( cache: &ObjectMapOpEnvCacheRef, diff_id: &ObjectId, ) -> BuckyResult<()>
Auto Trait Implementations§
impl !Freeze for ObjectMapDiff
impl !RefUnwindSafe for ObjectMapDiff
impl Send for ObjectMapDiff
impl Sync for ObjectMapDiff
impl Unpin for ObjectMapDiff
impl UnsafeUnpin for ObjectMapDiff
impl !UnwindSafe for ObjectMapDiff
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more