solana_sdk::vote::state::serde_tower_sync

Function serialize

Source
pub fn serialize<S>(
    tower_sync: &TowerSync,
    serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,