pub struct Config {
pub signing_key: [u8; 32],
pub writers_by_priority: Vec<WriterId>,
pub gossip: Arc<dyn Gossip>,
}Fields§
§signing_key: [u8; 32]§writers_by_priority: Vec<WriterId>§gossip: Arc<dyn Gossip>Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Config
impl !UnwindSafe for Config
impl Freeze for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
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