Impl 'TryFrom<&str>' for 'Method'.