pub enum ExtendViewError {
TriedToExtendNonEpochView {
view: ViewNumber,
},
GetViewTimeoutError {
view: ViewNumber,
},
}
Expand description
Enumerates the different ways a Pacemaker::extend_view
call can fail.
Variants§
TriedToExtendNonEpochView
An attempt was made to extend a view that is not an Epoch-Change view.
Fields
§
view: ViewNumber
GetViewTimeoutError
Same as UpdateViewError::GetViewTimeoutError
.
Fields
§
view: ViewNumber
Trait Implementations§
source§impl Debug for ExtendViewError
impl Debug for ExtendViewError
source§impl From<ExtendViewError> for PacemakerError
impl From<ExtendViewError> for PacemakerError
source§fn from(value: ExtendViewError) -> Self
fn from(value: ExtendViewError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ExtendViewError
impl RefUnwindSafe for ExtendViewError
impl Send for ExtendViewError
impl Sync for ExtendViewError
impl Unpin for ExtendViewError
impl UnwindSafe for ExtendViewError
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