pub struct Ticked {
pub notices: Vec<String>,
pub outgoing: Vec<Vec<u8>>,
pub proof: Option<(u32, Vec<u8>)>,
}Expand description
進めた結果
Fields§
§notices: Vec<String>ログに出すこと
outgoing: Vec<Vec<u8>>自分が作ったメッセージ(投票するピアに配る)
proof: Option<(u32, Vec<u8>)>投票を数えて組み、確かめが通った証明(エポックと証明)。中核に渡して確定を進める
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Ticked
impl RefUnwindSafe for Ticked
impl Send for Ticked
impl Sync for Ticked
impl Unpin for Ticked
impl UnsafeUnpin for Ticked
impl UnwindSafe for Ticked
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
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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