Enum fuel_core_interfaces::relayer::RelayerEvent
source · [−]pub enum RelayerEvent {
GetValidatorSet {
da_height: DaBlockHeight,
response_channel: Sender<Result<ValidatorSet, RelayerError>>,
},
GetStatus {
response: Sender<RelayerStatus>,
},
Stop,
}Variants
GetValidatorSet
Fields
da_height: DaBlockHeightrepresent validator set for current block and it is on relayer to calculate it with slider in mind.
response_channel: Sender<Result<ValidatorSet, RelayerError>>GetStatus
Fields
response: Sender<RelayerStatus>Stop
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for RelayerEvent
impl Send for RelayerEvent
impl Sync for RelayerEvent
impl Unpin for RelayerEvent
impl !UnwindSafe for RelayerEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more