pub struct StatementId(/* private fields */);Expand description
Statement identifier for BCX causal statements.
Implementations§
Source§impl StatementId
impl StatementId
Sourcepub fn new(bytes: &[u8]) -> Result<Self, ValidationError>
pub fn new(bytes: &[u8]) -> Result<Self, ValidationError>
Creates a validated identifier from canonical bytes.
Trait Implementations§
Source§impl Debug for StatementId
impl Debug for StatementId
impl Eq for StatementId
Source§impl PartialEq for StatementId
impl PartialEq for StatementId
Source§fn eq(&self, other: &StatementId) -> bool
fn eq(&self, other: &StatementId) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StatementId
Auto Trait Implementations§
impl Freeze for StatementId
impl RefUnwindSafe for StatementId
impl Send for StatementId
impl Sync for StatementId
impl Unpin for StatementId
impl UnsafeUnpin for StatementId
impl UnwindSafe for StatementId
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