pub trait GetAuthor<BlockProducerId> {
// Required method
fn get_author() -> Option<BlockProducerId>;
}Expand description
Source of the current block’s author
Required Methods§
Returns the current block’s author
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.