pub struct Success { /* private fields */ }Implementations§
Source§impl Success
impl Success
Sourcepub fn outcome(&self) -> SuccessfulOutcome
pub fn outcome(&self) -> SuccessfulOutcome
Get the SuccessfulOutcome of the success.
Sourcepub fn synced(&self) -> &BTreeMap<PublicKey, SyncStatus>
pub fn synced(&self) -> &BTreeMap<PublicKey, SyncStatus>
Get the set of synchronized nodes.
Trait Implementations§
Source§impl From<Success> for AnnouncerResult
impl From<Success> for AnnouncerResult
Source§fn from(s: Success) -> AnnouncerResult
fn from(s: Success) -> AnnouncerResult
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Success
impl RefUnwindSafe for Success
impl Send for Success
impl Sync for Success
impl Unpin for Success
impl UnwindSafe for Success
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> 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