You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: connector_parsers.rs
    path of file: ./repos/grafbase/engine/crates/parser-sdl/src
    
    the code of the file until where you have to start completion: use std::{borrow::Cow, sync::Mutex};

use async_trait::async_trait;
use engine::{
    registry::{self, MetaField, MetaType, Registry},
    Name, Pos, Positioned,
};
use engine_parser::types::TypeDefini
    
fn meta_type_to_type_definition(ty: &MetaType, position: Pos) -> Positioned<TypeDefinition> {
    use engine_parser::types::{EnumType, InputObjectType, InterfaceType, ObjectType, TypeKind, UnionType};

    Positioned::new(
        TypeDefinition {
            extend: false,
            description: None,
            name: Positioned::new(Name::new(ty.name()), position),
            directives: vec![],
            // These are just meant to be dummy entries to keep the parser happy
            // that they types exist so I"m not filling most of the details in for now
            kind: match ty {
                MetaType::Scalar { .. } => TypeKind::Scalar,
                MetaType::Object { .. } => TypeKind::Object(ObjectType {
                    implements: vec![],
                    fields: vec![],
                }),
                MetaType::Interface { .. } => TypeKind::Interface(InterfaceType {
                    implements: vec![],
                    fields: vec![],
                }),
                MetaType::Union { .. } => TypeKind::Union(UnionType { members: vec![] }),
                MetaType::Enum { .. } => TypeKind::Enum(EnumType { values: vec![] }),
                MetaType::InputObject { .. } => TypeKind::InputObject(InputObjectType { fields: vec![] }),
            },
        },
        position,
    )
}