pub struct BreakpointId(/* private fields */);Expand description
This is a Base58 digest of the breakpoint’s public key (along with some domain separation).
Implementations§
Source§impl BreakpointId
impl BreakpointId
Sourcepub fn from_key(public_key: &EncapsulationKey) -> BreakpointId
pub fn from_key(public_key: &EncapsulationKey) -> BreakpointId
Compute the ID string for the breakpoint.
Sourcepub fn from_received_string(id_string: &str) -> Result<BreakpointId, String>
pub fn from_received_string(id_string: &str) -> Result<BreakpointId, String>
Load a breakpoint ID string, assuming the format is valid.
Trait Implementations§
Source§impl Clone for BreakpointId
impl Clone for BreakpointId
Source§fn clone(&self) -> BreakpointId
fn clone(&self) -> BreakpointId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BreakpointId
impl RefUnwindSafe for BreakpointId
impl Send for BreakpointId
impl Sync for BreakpointId
impl Unpin for BreakpointId
impl UnsafeUnpin for BreakpointId
impl UnwindSafe for BreakpointId
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