Struct loro_common::CompactId
source · pub struct CompactId {
pub peer: PeerID,
pub counter: NonMaxI32,
}Fields§
§peer: PeerID§counter: NonMaxI32Implementations§
Trait Implementations§
source§impl PartialEq for CompactId
impl PartialEq for CompactId
impl Copy for CompactId
impl Eq for CompactId
impl StructuralPartialEq for CompactId
Auto Trait Implementations§
impl Freeze for CompactId
impl RefUnwindSafe for CompactId
impl Send for CompactId
impl Sync for CompactId
impl Unpin for CompactId
impl UnwindSafe for CompactId
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