#[repr(C)]pub struct CoreResult {
pub core_id: u8,
pub status: u8,
pub min_cut: u16,
pub witness_hash: u16,
pub witness_seed: CompactVertexId,
pub witness_cardinality: u16,
pub witness_boundary: u16,
pub padding: [u8; 4],
}Expand description
Result communicated back from core (16 bytes)
Fields§
§core_id: u8§status: u8§min_cut: u16§witness_hash: u16§witness_seed: CompactVertexId§witness_cardinality: u16§witness_boundary: u16§padding: [u8; 4]Trait Implementations§
Source§impl Clone for CoreResult
impl Clone for CoreResult
Source§fn clone(&self) -> CoreResult
fn clone(&self) -> CoreResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for CoreResult
impl Default for CoreResult
Source§fn default() -> CoreResult
fn default() -> CoreResult
Returns the “default value” for a type. Read more
impl Copy for CoreResult
Auto Trait Implementations§
impl Freeze for CoreResult
impl RefUnwindSafe for CoreResult
impl Send for CoreResult
impl Sync for CoreResult
impl Unpin for CoreResult
impl UnwindSafe for CoreResult
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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